dbTalk Databases Forums  

Password gives different layouts script?

comp.databases.filemaker comp.databases.filemaker


Discuss Password gives different layouts script? in the comp.databases.filemaker forum.



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

Default Password gives different layouts script? - 08-14-2003 , 04:57 PM






Anyone have an example or demo I can crib that allows folks who logon into
filemaker w/o a password to go to one layout, while other folks with different
passwords go to their particular layout?
--
"... all good works are not done by only good folk ..."
--till next time, Jameson Stalanthas Yu -x- dolphins-cove.com
jamesony (AT) INVALIDusc (DOT) edu ((remove the INVALID))


Reply With Quote
  #2  
Old   
Bridget Eley
 
Posts: n/a

Default Re: Password gives different layouts script? - 08-14-2003 , 05:17 PM






You need to create some groups, then associate each passwords with a group.
Then its just a matter of creating an opening script:

If [PatternCount(Status(CurrentGroup), "Group1")]
Go to Layout #1
Else
If [PatternCount(Status(CurrentGroup), "Group2")]
Go to Layout #2
Else
If [PatternCount(Status(CurrentGroup), "Group3")]
Go to Layout #3
End If
End If
End If

Don't forget to set the document preferences to use the opening script to
open the file.

Bridget Eley

in article bhh0kf$c3j$2 (AT) usc (DOT) edu, ~consul at jamesony (AT) usc (DOT) edu wrote on
15/8/03 7:57 AM:

Quote:
Anyone have an example or demo I can crib that allows folks who logon into
filemaker w/o a password to go to one layout, while other folks with different
passwords go to their particular layout?


Reply With Quote
  #3  
Old   
jameson stalanthas yu
 
Posts: n/a

Default Re: Password gives different layouts script? - 08-14-2003 , 08:33 PM



Quote:
Bridget Eley wrote:
You need to create some groups, then associate each passwords with a
group.
Then its just a matter of creating an opening script:

If [PatternCount(Status(CurrentGroup), "Group1")]
Go to Layout #1
Else If [PatternCount(Status(CurrentGroup), "Group2")]
Go to Layout #2
Else If [PatternCount(Status(CurrentGroup), "Group3")]
Go to Layout #3
End If
End If
End If

Don't forget to set the document preferences to use the opening script to
open the file.
I tried it out, and (CurrentGroup) is "This constant is not a recognized status
flag" .

I'm using a FMP6.04U, WinXP.



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.