Rabu, 04 April 2012

[MS_AccessPros] Add value from Previous record

 

I have a button called cmdNewWorkOrder on a form called frmWorkOrderDetails. Currently the code for the button is as follows:

Private Sub cmdAddWorkOrder_Click()
DoCmd.GoToRecord , , acNewRec


End Sub

But what I need to do is pass the value of UnitID from the previous record to the new record while the form is still open.

Please advise.

Thank you
Art Lorenzini

__._,_.___
.

__,_._,___

Tidak ada komentar:

Posting Komentar