G
Guest
I have DB with two tables. The first table holds specifics regarding a
purchase request (purchaser, address, Phone #, etc). The second tables holds
the items being requested. The data in the two tables are linked by a
TransactionID (autonumber)
The form I put together has the data for the first table as its record
source with a subform for the various items that might be requested.
I have several buttons, each representing a different item, that update the
subform. Inserting the transactionID and whatever item is being requested.
Like this:
Private Sub RequestLabResults_Click()
Forms![frmROIRequest]![fsubItemRequested]![TransactionID] =
Me.TransactionNumber
Forms![frmROIRequest]![fsubItemRequested]![ItemRequested] = "Lab Results"
End Sub
My problem is, after the initial button is pushed and the subform updates,
it does not go to the next, blank record. If I press another button it
updates the original record. Can I add code to the end of my click events
that will send the focus to the next, new record? (like carriage return on a
type writer)
TIA
Antonio
purchase request (purchaser, address, Phone #, etc). The second tables holds
the items being requested. The data in the two tables are linked by a
TransactionID (autonumber)
The form I put together has the data for the first table as its record
source with a subform for the various items that might be requested.
I have several buttons, each representing a different item, that update the
subform. Inserting the transactionID and whatever item is being requested.
Like this:
Private Sub RequestLabResults_Click()
Forms![frmROIRequest]![fsubItemRequested]![TransactionID] =
Me.TransactionNumber
Forms![frmROIRequest]![fsubItemRequested]![ItemRequested] = "Lab Results"
End Sub
My problem is, after the initial button is pushed and the subform updates,
it does not go to the next, blank record. If I press another button it
updates the original record. Can I add code to the end of my click events
that will send the focus to the next, new record? (like carriage return on a
type writer)
TIA
Antonio