This is a problem re-visited I have a better understanding but still am struggling with this issue.
I have two forms, the first is a data entry form named "Contacts." The second named "Change" is a form with a grid that shows all the contacts which is read only. I am trying to select a name in the grid and open the "contact" form with that record for editing or viewing purposes.
Following the example given in VFP9 help on "Passing Parameters to a form."
I made a new property named "firstname" for the "change" form.
The value of the property "firstname I left at .F. since I don't know what it means.
In the "change" form's Init event I put
[lPARAMETERS cString]
[THIS.firstname=cString]
In the double click event for the grid Text1 "which reflects the first name of the contact"
I placed [DO FORM change WITH THIS.Value]
The error shows that "No PARAMETER statement is found"
I obviously am missing some small detail,the idea, or some code as I do not know where the parameter statement is. I followed the VFP help example exactly I thought. ANy help would be appreciated.
I have two forms, the first is a data entry form named "Contacts." The second named "Change" is a form with a grid that shows all the contacts which is read only. I am trying to select a name in the grid and open the "contact" form with that record for editing or viewing purposes.
Following the example given in VFP9 help on "Passing Parameters to a form."
I made a new property named "firstname" for the "change" form.
The value of the property "firstname I left at .F. since I don't know what it means.
In the "change" form's Init event I put
[lPARAMETERS cString]
[THIS.firstname=cString]
In the double click event for the grid Text1 "which reflects the first name of the contact"
I placed [DO FORM change WITH THIS.Value]
The error shows that "No PARAMETER statement is found"
I obviously am missing some small detail,the idea, or some code as I do not know where the parameter statement is. I followed the VFP help example exactly I thought. ANy help would be appreciated.