Off the top of my head...
Create a form called MemoEditor. Make it modal and set it's DataSession to Default.
Pass a parameter with the field name to the Init, then set the Editbox.DataSource to the parameter.
When you call the form in the button: DO FORM MemoEditor WITH "MyMemoField"
That should be all that's required.
>I am having a problem with this container control. When I change the value, it seems to show the same value for all records. I have textbox and a button. In button's code I put this code
>
>MODIFY MEMORY (this.Parent.lngField)
>this.Parent.txtLanguage.Value = SUBSTR(EVALUATE(this.Parent.lngField),1,240)
>
>Sparse for the column is set to .F.
>
>Now, every time I change a value using the button, I get all records in the grid to show the same value...
>
>Do you know how to fix this?
>
>Thanks in advance.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer