Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7069 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Is there a Line Item in a script that can tell the script who is logged in.

Let me explane this a little more:

I want to make a script that is an If else statement

If [john] is running the script -- then do this

else do this.

can this be done?

Help

Joseph

Posted

Joseph:

Create a script using the Status(CurrentUserName) if you are running version 6 or replace it with the corresponding "Get" on FM Pro 7. You can add nested if's inside the Else part for more users.

if [

  • 2 months later...
  • Newbies
Posted

Thank you. I was also creating a start up script that would take the user to their respective menu, one menu for an administrator another for a user and I was trying to use "or" to separate the user names but it wasn't working. I did what you seggested and "put each name in a separate line and it worked. Thanks

This topic is 7069 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.