Hello all,
I've implemented the fOSUserame for the purpose of populating an unbound textbox in a form (ie [forms]![form1]![text0]). I have a table (TblUsers) that has ID (PrimaryK), EDIPI (which is the match to what fOSUserName populates in text0), LastName, and FirstName. What I would like to do is build an iif statement in text2 (another unbound textbox) that looks at text0 and verifies that the EDIPI is registered in the table. If yes then load the main menu, if no prompt "You're currently not registered, please contact the DBA to gain appropriate access."
fOSUserName populates into text0 correctly and the EDIPI's are finite. how would I go about making this work. Any suggestions would be greatly appreciated. Thanks in advance.
James
I've implemented the fOSUserame for the purpose of populating an unbound textbox in a form (ie [forms]![form1]![text0]). I have a table (TblUsers) that has ID (PrimaryK), EDIPI (which is the match to what fOSUserName populates in text0), LastName, and FirstName. What I would like to do is build an iif statement in text2 (another unbound textbox) that looks at text0 and verifies that the EDIPI is registered in the table. If yes then load the main menu, if no prompt "You're currently not registered, please contact the DBA to gain appropriate access."
fOSUserName populates into text0 correctly and the EDIPI's are finite. how would I go about making this work. Any suggestions would be greatly appreciated. Thanks in advance.
James
Last edited: