I am trying to be able to have the user log into the database by selecting there name from the list of Users, then saving the user name as a TempVar, and then showing this field as a text field on other forms.
I don't want the user to need to select there name each time they end up on the main form, so I have it set up so the default value is the TempVar.
This works for when the main form is opened again, but even though it shows the name in the combo box, going forward to other forms it doesn't retain the value.
Attached is a quickly put together sample - frm_SelectUser represents the main form, from there the command button opens the 2nd form and closes this form, the button on that form in turn closes it and reopens frm_SelectUser.
Thanks for any assistance.
I don't want the user to need to select there name each time they end up on the main form, so I have it set up so the default value is the TempVar.
This works for when the main form is opened again, but even though it shows the name in the combo box, going forward to other forms it doesn't retain the value.
Attached is a quickly put together sample - frm_SelectUser represents the main form, from there the command button opens the 2nd form and closes this form, the button on that form in turn closes it and reopens frm_SelectUser.
Thanks for any assistance.
Attachments
Last edited: