How can I get a value from a Form by coding??
Posted on 2004-04-21
Here is part of the coding:
Private Sub Edit_Click()
stDocName = "DataEntry_Staff_Edit"
stStaffCode = (How can I get a value from form?? let's say I would like to get the staff code from a text box "StaffCode" from a form "DataEntry_Staff")
DoCmd.OpenForm stDocName, acFormEdit, acWindowNormal