jcc31 Posted March 11, 2005 Posted March 11, 2005 I would like to put an If then statement to get different layouts. Something like this: If User-Name = Joe Go to Layout #1 Print Layout #1 End If My problem is how do I do a get User Name so I can do a condition test for the Joe? Then I can do the rest. It's just that part. Is there a function, Get, Status or what? Thanks in advance
jcc31 Posted March 11, 2005 Author Posted March 11, 2005 I would like to put an If then statement to get different layouts. Something like this: If User-Name = Joe Go to Layout #1 Print Layout #1 End If My problem is how do I do a get User Name so I can do a condition test for the Joe? Then I can do the rest. It's just that part. Is there a function, Get, Status or what? Thanks in advance
jcc31 Posted March 11, 2005 Author Posted March 11, 2005 I would like to put an If then statement to get different layouts. Something like this: If User-Name = Joe Go to Layout #1 Print Layout #1 End If My problem is how do I do a get User Name so I can do a condition test for the Joe? Then I can do the rest. It's just that part. Is there a function, Get, Status or what? Thanks in advance
Søren Dyhr Posted March 11, 2005 Posted March 11, 2005 In 6.0 is it still called Status(CurrentUserName) ... --sd
Søren Dyhr Posted March 11, 2005 Posted March 11, 2005 In 6.0 is it still called Status(CurrentUserName) ... --sd
Søren Dyhr Posted March 11, 2005 Posted March 11, 2005 In 6.0 is it still called Status(CurrentUserName) ... --sd
BrentHedden Posted March 11, 2005 Posted March 11, 2005 Some users don't fill in that "field" (located under Edit>Preference>Application>General), so be sure to check for "". Or, if they type something wierd in there, check it against a list of known good names (like a patterncount on a specific field).
BrentHedden Posted March 11, 2005 Posted March 11, 2005 Some users don't fill in that "field" (located under Edit>Preference>Application>General), so be sure to check for "". Or, if they type something wierd in there, check it against a list of known good names (like a patterncount on a specific field).
BrentHedden Posted March 11, 2005 Posted March 11, 2005 Some users don't fill in that "field" (located under Edit>Preference>Application>General), so be sure to check for "". Or, if they type something wierd in there, check it against a list of known good names (like a patterncount on a specific field).
stanley Posted March 12, 2005 Posted March 12, 2005 Remember that Status(CurrentUserName) can also return the OS-level System Name, if that is what's selected in Preferences... I believe this is the default behavior. -Stanley
stanley Posted March 12, 2005 Posted March 12, 2005 Remember that Status(CurrentUserName) can also return the OS-level System Name, if that is what's selected in Preferences... I believe this is the default behavior. -Stanley
stanley Posted March 12, 2005 Posted March 12, 2005 Remember that Status(CurrentUserName) can also return the OS-level System Name, if that is what's selected in Preferences... I believe this is the default behavior. -Stanley
Recommended Posts
This topic is 7199 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 accountSign in
Already have an account? Sign in here.
Sign In Now