I want a record to be created as of what user modifies the CUSTOMER form.
I have 2 forms
LOGIN
CUSTOMER
On the CUSTOMER form I have a button that when I
ClickOnSaveButton it copys the UserName from the LOGIN form.
But In order for ClickOnSAveButton to copy the UserName from
the LOGIN form this has to be open otherwise an error message comes up saying that it couldn't find the LOGIN form.
My question is how do i hide or make invisible
the LOGIN form? I think that if the form is hidden, since it
is still there it should allow for the code to copy from the LOGIN form. Or What Code should I Use
The code that I used on the customer form is..
(Me.Text72.Value = Forms!Login!txtname.Value)
I have 2 forms
LOGIN
CUSTOMER
On the CUSTOMER form I have a button that when I
ClickOnSaveButton it copys the UserName from the LOGIN form.
But In order for ClickOnSAveButton to copy the UserName from
the LOGIN form this has to be open otherwise an error message comes up saying that it couldn't find the LOGIN form.
My question is how do i hide or make invisible
the LOGIN form? I think that if the form is hidden, since it
is still there it should allow for the code to copy from the LOGIN form. Or What Code should I Use
The code that I used on the customer form is..
(Me.Text72.Value = Forms!Login!txtname.Value)