Hello,
I have added a memo field to the Opportunity Products and Add Opportunity products datagrids
System:Insert Opportunity Common:
'Extended Notes for proposals column Set col = grdProducts.Columns.Add(14) col.FieldName = "PROPOSAL" 'DNL col.Caption = Application.Translator.Localize("Ext Notes") col.Width = 40 The intention of the modification is to add detailed descriptions for customized products. In addition to the memo field in the Opportunityproduct table a memo field was added to the Product table as well to hold "base" descriptions. When a product is added to an opportunity this base description is copied to the opportuntyproduct table. The user then clicks on the field in the datagrid to get an edit box with the base description and can now add custom information for inclusion in a Crystal report Proposal ducument with complete job information and legal statements ready for a customer signature.
The basic funtionality works and proposals are bing produced however it became appearent that there were some issues.
1)When this field is clicked in the Opportunity Products grid an edit box appears contains the current memo data, a greyed out OK button that is activated if a text change is introduced, and a cancel button. If the user clicks outside of this edit box or another process gets focus this box simply dissapears along with any changes. Users are forced to click the OK button contantly so that their edit is not lost.
2) In the Add Opportunity Products grid this box appears to opperate in the same way. A user can add product and immediatly edit the extended desription. After clicking OK and retuning to the Opportunity Product grid, the edited data appears to be there but the database has not in fact been updated. I'm pretty sure I can find a way to fix this problem with a refresh somewere in the code.
My question is how can I get some control over this DataGrid Memo Edit sub-control and/or it's events? It would be a shame to have to abandon this built in functionality that is so close to working and start from scratch with some form of custoe memo edit window. |