General information
Category:
Forms & Form designer
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only