I want to open a success form

meenctg

Learn24bd
Local time
Tomorrow, 04:56
Joined
May 8, 2012
Messages
133
I have a DataEntry form. When i open this form and entry data it gives random chance to entry data.

I want to open a successFrm if a record successfully added. Actually i want when data successfully added it'll show a successFrm and DataEntry form will be closed.

Please help me how will i do this?
 
I have a DataEntry form. When i open this form and entry data it gives random chance to entry data.

I want to open a successFrm if a record successfully added. Actually i want when data successfully added it'll show a successFrm and DataEntry form will be closed.

Please help me how will i do this?
If I understand correctly, when form DataEntry is saved you want to open form successFrm and close form DataEntry.

Try this code in the After Update event of DataEntry form.
Code:
DoCmd.OpenForm "successFrm"
DoCmd.Close acForm, "DataEntry"
 

Users who are viewing this thread

Back
Top Bottom