El_Pablo Posted March 3, 2010 Posted March 3, 2010 Is it possible to fill a field with a global variables using auto-enter calculation? I know it's possible with a local variable in a script, but I have not been able with a global variable. Thanks
David Jondreau Posted March 4, 2010 Posted March 4, 2010 Yes, it's possible and easy. What have you tried?
El_Pablo Posted March 4, 2010 Author Posted March 4, 2010 I just added GetValue($$companyInfo; 1) in the auto-calculation, but I always got an empty value. I've check if there was any value in $$companyInfo and there were some. The data is separated from the interface. I worked around the problem, but I still want to know how to do this. Thanks
El_Pablo Posted March 4, 2010 Author Posted March 4, 2010 Hmmm... it seems to work with a single file. I guess that the fact that I use a separation model might change the behavior. odbc.zip
El_Pablo Posted March 4, 2010 Author Posted March 4, 2010 Here's a version with a presentation layer. As you can see it doesn't work. odbc_with_presentation.zip
David Jondreau Posted March 4, 2010 Posted March 4, 2010 One of the caveats of using the separation model is that global variables are local to the file. They are not shared between files. You could use a global field instead.
El_Pablo Posted March 4, 2010 Author Posted March 4, 2010 Yes, it is what I used as a workaround. Thanks for helping!
Recommended Posts
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