D
Daniel M
I have a form that has text boxes and combo boxes bount to a table. If i add
my data and tab all the way through the form it enters the data into the
table. I would like to change this behavior to require a command button to
enter the data.
I know i can unbound the form data and do something like this...
Dim Rs As Recordset
Set Rs = CurrentDb.OpenRecordset("Assets")
Rs.AddNew
Rs![Dateentered] = Dateentered
Rs![EmployeeID] = Employees
Rs![SerialNumber] = SerialNumber
Rs![DepartmentID] = DepartmentID.Value
Rs.Update
Rs.Close
Set Rs = Nothing
The problem with this is there are about 30 items on the form to fill out.
Is there a better way of doing this or this the best way?
Thanks.
my data and tab all the way through the form it enters the data into the
table. I would like to change this behavior to require a command button to
enter the data.
I know i can unbound the form data and do something like this...
Dim Rs As Recordset
Set Rs = CurrentDb.OpenRecordset("Assets")
Rs.AddNew
Rs![Dateentered] = Dateentered
Rs![EmployeeID] = Employees
Rs![SerialNumber] = SerialNumber
Rs![DepartmentID] = DepartmentID.Value
Rs.Update
Rs.Close
Set Rs = Nothing
The problem with this is there are about 30 items on the form to fill out.
Is there a better way of doing this or this the best way?
Thanks.