I am creating a travel form which needs to be linked to another travel form. Need to be able to have the ending balance pull over to the beginning balance on a new form. Any help will be appreciated.
what you need to do is refernce the other form here some sample code
Private Sub Form_Open(Cancel As Integer)
Dim Frm As OLDFORM
Set Frm = OLDFORM
Me.EndingBalance = frm.EndingBalance
End Sub
OLDFORM is the form you are coming from
Me.EndingBalance is the the textbox name on the new form
Me.EndingBalance is the the textbox name on the old form
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.