Steelers1 Posted March 6, 2008 Posted March 6, 2008 Can one use this to pass a parameter between database files? Or is it limited to passing data between scripts within the same file?
the wheelhorse Posted March 11, 2008 Posted March 11, 2008 1. Include each DB in the file reference. 2. Use PERFORM SCRIPT script step add TEXT parameter 3. In SCRIPT to be performed in recieving DB use: $var=Get (ScriptParameter) Since this is text based, you may need a complex value (multiple values concated into a single string) you can use a calculation to generate a string and then a new calculation to parse the string . Please correct me if there is a better way, Folks, this is just what I have been doing. good luck
comment Posted March 11, 2008 Posted March 11, 2008 $var=Get (ScriptParameter) doesn't do anything useful by itself, it just moves a value from one register to another. It's different when you want to pass multiple values - see: http://www.fmforums.com/forum/showtopic.php?tid/172514/post/187782/#187782 Also, a script parameter does not necessarily need to be text.
Recommended Posts
This topic is 6102 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