>LPARAMETERS plEdit >IF plEdit > * set up for editing > >ELSE > * set up for record selection > >ENDIF >Jim,
LPARAMETERS plEdit IF plEdit = .T. *Setup for Editing blah, blah, blah ELSE *Setup for Record Selection (disable editing) blah, blah, blah ENDIFI am trying to call StartEdit from the Form's Init, passing .F., so that the Form is put in record-selection (non-edit) mode. The code I have in the Form's Init is:
DO StartEdit WITH .T.When I attempt to run the Form, I get a Program Error as captioned in the Subject of this thread. This is my first atttempt at this type of construct in VFP, and I would be most appreciative for help. Also, I noticed you used the prefix 'pl' in 'plEdit'. What's the significance? TIA, CH.