>Hi every body,
>
>How may I insert a character string in a memo field (where the cursor is)?
>
>Thank you,
>Ali
Assuming that the memo is being displayed in an edit control and some other control does the insertion.
iCurPos = ThisForm.edit1.SelStart
ThisForm.edit1.Value = Left( ThisForm.edit1.Value, iCurPos - 1 ) ;
+ " New Text " ;
+ SubStr( ThisForm.edit1.Value, iCurPos )
censored.