12/16/2025 2:36:38 PM
|
| |
| slxdeveloper.com Community Forums |
|
| |
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
|
|
|
|
Memo in Opportunity Product Datagrid
Posted: 19 Nov 08 7:36 AM
|
I'm trying to add a custom description memo field to the Opportunity Product datagrid and am having trouble getting it to work correctly. I'd like it to function like the Description column in the Manage Products datagrid. Here's what I have...
Datagrid definition... Set col = grdProducts.Columns.Add(14) col.FieldName = "C_CustomDescription" col.Caption = "Custom Description" col.Width = 255 col.ReadOnly = False
Function CreateProductsRSStructure ... .Fields.Append "C_Custom_Description", ?, ?, adFldIsNullable ... End Function
In defining the RS structure, I've had trouble finding the correct syntax to append a text data type. In the ADO reference, adLongVarChar is mentioned for the equivalent of a Text data type. However, I haven't had any success in making this work. Additionally, with my column definition, I suspect I may be missing a property or two. Any help would be GREATLY appreciated. Thank you!
C. Burriss
|
|
|
|
Re: Memo in Opportunity Product Datagrid
Posted: 19 Nov 08 9:11 PM
|
I was about to pull the SLX controls into Visual Basic and start guessing with the properties. Luckily, I found the answer in Ryan's response to a question posted for the Creating DataGrid Columns at Runtime article. The PaintStyle property must be set to 2. Ryan ROCKS! 
C. Burriss |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|