dbTalk Databases Forums  

If Statement

comp.databases.filemaker comp.databases.filemaker


Discuss If Statement in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JC
 
Posts: n/a

Default If Statement - 11-08-2005 , 07:45 AM






I have a startup script that goes like this:
IF
Get ( PrivlegeSetName ) = "Manager" or "Salesrep"
Show All Records
else
Enter Find Mode
Set Field .......


When I log in under Manager it works fine, if I log in under Saleserp
it completely disregards the if statement.


Thanks
JC Lewis


Reply With Quote
  #2  
Old   
C
 
Posts: n/a

Default Re: If Statement - 11-08-2005 , 08:24 AM






Get ( PrivlegeSetName ) = "Manager" or Get ( PrivlegeSetName ) = "Salesrep"


should sort it right out

i hope :-)

C


"JC" <jc (AT) jclewis (DOT) biz> wrote

Quote:
I have a startup script that goes like this:
IF
Get ( PrivlegeSetName ) = "Manager" or "Salesrep"
Show All Records
else
Enter Find Mode
Set Field .......


When I log in under Manager it works fine, if I log in under Saleserp
it completely disregards the if statement.


Thanks
JC Lewis




Reply With Quote
  #3  
Old   
JC
 
Posts: n/a

Default Re: If Statement - 11-08-2005 , 08:33 AM



Nope that won't do it either: I've also tried putting an else if
staetment below the first if, that doesn't work either.

Thanks
JC


Reply With Quote
  #4  
Old   
JC
 
Posts: n/a

Default Re: If Statement - 11-08-2005 , 08:43 AM



Thanks, That did work, just had to hit the show all button.

thanks
JC


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.