Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying fields of grids on opened new form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00938839
Message ID:
00938848
Views:
16
You can invoke the form with parameter which shows You what You must do APPEND or EDIT.
Somethink like that:
** Key press event of the main form
DO CASE
   CASE nKeyCode == 13
        DO FORM MyEditForm WITH (nShiftAltCtrl==1) && .t. for edit, Shift+Enter->Append
...
ENDCASE
You can store that parameter in propertie of parent form to know what you must do if the user press SAVE button
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform