Thanks for all replies.
Continuing with my Memo field problem
My application works except that I cannot save the memo composed in the EDITBOX control named T_Notes
The field name in my DBF is "Names,m".
Looking at the code that attempts to save PLInfo_>Notes, I get a context error only on those lines that contain T_Notes (see asterisks)
Do I have to save that field in a different way to other fields ?
The HMG examples do not seem to save memos. Do I have to use
the old Clipper MEMOEDIT commands. Its been 20 years since using it so I've forgotten how.
If lNew // is this a new record
PLInfo->(DBSetOrder(1))
PLInfo->(DBGoBottom())
WebCode := StrZero( Val( PLInfo->Code ) + 1 , 4 )
PLInfo->(DBAppend())
PLInfo->Code := WebCode
PLInfo->Name := Form_2.T_Name.Value
PLInfo->Type := Form_2.T_Type.Value
PLInfo->PassWord := Form_2.T_PassWord.Value //new PW is undisguised
PLInfo->LogOnID := Form_2.T_LogOnID.Value
PLInfo->Account := Form_2.T_Account.Value
PLInfo->URL := Form_2.T_URL.Value
PLInfo->Phone := Form_2.T_Phone.Value
PLInfo->EMail := Form_2.T_Email .Value
PLInfo->Notes := Form_Memo.T_Notes.Value **********************< Context Error
Else
cCode := Form_2.T_Code.Value
PLInfo->(DBSetOrder(1))
If ! PLInfo->(DBSeek( cCode ))
MsgSTOP("Registration "+cCode+" not located!!","PLInfo")
Release Window ALL
EndIf**********************< Context Error
If BlockRegistrationOnNetwork( "PLInfo" )
PLInfo->Name := Form_2.T_Name.Value
PLInfo->Type := Form_2.T_Type.Value
PLInfo->PassWord := PWDisguise(Form_2.T_PassWord.Value) //undo PW disguise
PLInfo->LogOnID := Form_2.T_LogOnID.Value
PLInfo->Account := Form_2.T_Account.Value
PLInfo->URL := Form_2.T_URL.Value
PLInfo->Phone := Form_2.T_Phone.Value
PLInfo->EMail := Form_2.T_Email.Value
PLInfo->Notes := Form_Memo.T_Notes.Value **********************< Context Error
PLInfo->(DBUnlock())
EndIf
EndIf
MsgInfo( "Information "+Iif( lNew , "Registered" ,"Altered!!" ) )
PosicionaIndice( Left( PLInfo->Name , 1 ) )
Research_PLInfo()
Form_2.Release
Return Nil