Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get rid of 'Add Record' dialog
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00412585
Message ID:
00413082
Views:
19
>In cmdAdd.click() at line 183 starts the bit of code that adds the record to the parent table. If the key is empty it does an append blank else an insert. If you go there you can probably set your key value by calling your stored procedure from there. You can also try setting a breakpoint in that event to see what line of code is producing this dialog.
>
>HTH
I'll try it again, but it seems to be handling cascadeing insertr where there is no need, a simple apend blank, go recno() thisform.edit = .T. thisform.refresh should be all it needs.
The grid is based on a view, ans gas allow update = .F. and allowaddnew = .F. Adds and deletes are handlewd elsewhere.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform