dbTalk Databases Forums  

Multiple values in script parameter

comp.databases.filemaker comp.databases.filemaker


Discuss Multiple values in script parameter in the comp.databases.filemaker forum.



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

Default Re: Multiple values in script parameter - 11-24-2006 , 04:32 PM






You can have only "one" parameter but that parameter can contain multiple
values. Separate them by some easy-to-parse delimiter, such as a return
character.

"Meyers adsl" <meyers_home (AT) tpg (DOT) com.au> wrote

Quote:
Can anyone advise how to to put more than one value in optional script
parameter.



Reply With Quote
  #2  
Old   
c b
 
Posts: n/a

Default Re: Multiple values in script parameter - 11-24-2006 , 07:15 PM






Meyers adsl wrote:
Quote:
Can anyone advise how to to put more than one value in optional script
parameter.

Thanks

Dave


As Bill suggested, or just use spaces and then parse values as words

Chris


Reply With Quote
  #3  
Old   
Matt Wills
 
Posts: n/a

Default Re: Multiple values in script parameter - 11-25-2006 , 06:05 AM



I like defining the parameter with the values separated by returns (pilcrow). You can then retrieve the individual values with the GetValue function.

The second value in the parameter would be

GetValue ( Get ( ScriptParameter ) ; 2 )

and so on.

Matt

On 11/25/2006 15:42:13 "Meyers adsl" <meyers_home (AT) tpg (DOT) com.au> wrote:

Quote:
Can anyone advise how to to put more than one value in optional script
parameter.

Thanks

Dave

Reply With Quote
  #4  
Old   
Meyers adsl
 
Posts: n/a

Default Multiple values in script parameter - 11-25-2006 , 02:42 PM



Can anyone advise how to to put more than one value in optional script
parameter.

Thanks

Dave



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.