Save current record in one form before moving to its subform

clmarks

Registered User.
Local time
Yesterday, 19:03
Joined
Jan 29, 2007
Messages
69
Here is my situation. I have a master client form with a subform showing the current and previous programs that client has attended. Clicking on a button located on a specific program line opens a form showing the list of services that client is authorized to receive. Clicking on a button on the authorization line opens a form which shows all of the services that client has received based on that specific authorization.

My problem is that sometimes when we create a new authorization line and then click the button to enter a service transaction, the authorization does not save.

I have been using SenKeys to force the authorization to save and everything worked find, but we recently moved to using a WYSE thin-client setup with individual routers rather than computers. When the change took place, we started having a lot of problems. I am told that the SendKeys command is a source of some of these problems.

How can I force the new authorization line to save when the user moves on to the service (child) record without using SendKeys?

Any help would be greatly appreciated.
 
Try

DoCmd.RunCommand acCmdSaveRecord
 

Users who are viewing this thread

Back
Top Bottom