antonyx
Arsenal Supporter
- Local time
- Today, 19:47
- Joined
- Jan 7, 2005
- Messages
- 556
i want to send an id from 'job' to 'job1'.
the job form needs to be closed before the job1 form opens..
i want to do something like this..
job form
and then on job1 open event use
the problem is that the job form will be closed so how can i transfer it?
the job form needs to be closed before the job1 form opens..
i want to do something like this..
job form
Code:
Private Sub Form_BeforeUpdate(Cancel As Integer)
DoCmd.RunCommand acCmdSaveRecord
DoCmd.Close
DoCmd.OpenForm "job1"
End Sub
and then on job1 open event use
Code:
Me.txtjobref = Format(Forms!job.jobref, "00000000")
the problem is that the job form will be closed so how can i transfer it?