In the comment above you say:
I would like the new record to just be added to the table, which will be available in this form when I return to it
You might want to explore the Activate event. But it bothers me to fill out the form if you donโt know that the entries have been added. I expect that if I need it (I never did this, in fact - my users know about Shift-F9, where it is relevant, but most of them do not need them), I would use the OnActivate event and check the current number of records and only request a form if the counter does not match the current set of records.
But then again, I find this a rather exotic affair. In general, this is probably an architectural mistake when too many forms sit around with an open set of records that you walk away from and then come back to. They should probably be completely closed and not open when you are away from them. This reduces the number of table descriptors, as well as the number of locks stored in the database on the rear panel, which can be a problem when properly managed.
source share