Hi there,
I have the following problem:
I have a form which includes a command button.
Clicking this button another form will be opened. This 2nd form needs information from the first form (ID etc.)
If I open the 2nd form the record is NOT saved yet.
Apart from just pressing "Save record" in the Records menu,
is there a neat trick to include a line (like save record or so) in the event builder
----------
stDocName = "Name of 2nd Form"
stLinkCriteria = "[ContactsID]=" & Me![ContactsID] (somewhere here, I guess)
DoCmd.OpenForm stDocName, , , stLinkCriteria
----------
Thanks in advance,
Michael.
I have the following problem:
I have a form which includes a command button.
Clicking this button another form will be opened. This 2nd form needs information from the first form (ID etc.)
If I open the 2nd form the record is NOT saved yet.
Apart from just pressing "Save record" in the Records menu,
is there a neat trick to include a line (like save record or so) in the event builder
----------
stDocName = "Name of 2nd Form"
stLinkCriteria = "[ContactsID]=" & Me![ContactsID] (somewhere here, I guess)
DoCmd.OpenForm stDocName, , , stLinkCriteria
----------
Thanks in advance,
Michael.