danikuper
Registered User.
- Local time
- Today, 08:27
- Joined
- Feb 6, 2003
- Messages
- 147
Hi,
I'm trying to get specific forms to open automatically based on the user that is using the database. I tried creating an Autoexec macro and having the following as parameters:
Action: open form
Form name: Welcome John
View: Form
Where condition: CurrentUser()=[john]
Window Mode: Normal
The form "Welcome John" does open when john logs in however it will open all the time regardless of the user (when mary logs in she also receives the same form, which should not happen).
Initially I thought it was something to do with my command currentuser however I tried other combinations like:
CurrentUser()="john"
CurrentUser()='john'
And none of those seem to work... what am I doing wrong?
I'm trying to get specific forms to open automatically based on the user that is using the database. I tried creating an Autoexec macro and having the following as parameters:
Action: open form
Form name: Welcome John
View: Form
Where condition: CurrentUser()=[john]
Window Mode: Normal
The form "Welcome John" does open when john logs in however it will open all the time regardless of the user (when mary logs in she also receives the same form, which should not happen).
Initially I thought it was something to do with my command currentuser however I tried other combinations like:
CurrentUser()="john"
CurrentUser()='john'
And none of those seem to work... what am I doing wrong?