Steve@trop
Registered User.
- Local time
- Today, 13:40
- Joined
- May 10, 2013
- Messages
- 148
I just figured out how to pass a value from one form to another. Now I need the second form to Update that field so that other code will run the AfterUpdate Sub:
Private Sub cboAssetNumber_AfterUpdate()Me.txtCompressorID.Value = cboAssetNumber.Column(1)Me.txtArea.Value = cboAssetNumber.Column(2)
End Sub
Private Sub Form_Load()
Me.cboAssetNumber = Forms!BarcodeNavigationF!cboAssetNumber
End Sub
I think the command is .update but I'm not sure where it should go or how to use it in this situation.
Private Sub cboAssetNumber_AfterUpdate()Me.txtCompressorID.Value = cboAssetNumber.Column(1)Me.txtArea.Value = cboAssetNumber.Column(2)
End Sub
Private Sub Form_Load()
Me.cboAssetNumber = Forms!BarcodeNavigationF!cboAssetNumber
End Sub
I think the command is .update but I'm not sure where it should go or how to use it in this situation.
Last edited: