Hello All,
I am working on the On_Load event of a "Logged In" Form i have. It checks to make sure that they are not already logged-in. However, at times, if the dbase crashes it will not remove them from the table of logged in users. When this happens, the user has to contact me to request I "let them back in."
What would be the best way to address this automatically? I was thinking about a Dlookup for the table which keeps track of button clicks (also catches errors) that checks to see if a specific error exists for that user for today.
How would the syntax look if I want it to check the [ButtonClicks] Table for Currentuser() in the [User] Field and "Error 2501" in [ButtonClick] Field and make sure that the error is from today's date. [ClickDate] Field
I've tried dlookup and dlast and dcount but Im not sure I have the syntax right on any of them. Any advice?
Thank you
I am working on the On_Load event of a "Logged In" Form i have. It checks to make sure that they are not already logged-in. However, at times, if the dbase crashes it will not remove them from the table of logged in users. When this happens, the user has to contact me to request I "let them back in."
What would be the best way to address this automatically? I was thinking about a Dlookup for the table which keeps track of button clicks (also catches errors) that checks to see if a specific error exists for that user for today.
How would the syntax look if I want it to check the [ButtonClicks] Table for Currentuser() in the [User] Field and "Error 2501" in [ButtonClick] Field and make sure that the error is from today's date. [ClickDate] Field
I've tried dlookup and dlast and dcount but Im not sure I have the syntax right on any of them. Any advice?
Thank you