Kiele Posted March 25, 2007 Posted March 25, 2007 (edited) I'm new to FileMaker's TOs, having jumpted from version 6 to 8.5. When I ran a script in v6, from the current file to a related file, I would have to start in the current file, and run and external script in the related file. However, when I run a script in in the version 8 file, but in a different TOs, it works properly in one TO, the one that I created it in, but not when I try to run it from A Related TO. It doesn't completely work properly. The script is opening a related file, and going to a layout on a choosen TO, that is furnished in the Current File. However, when I run it from a Related TO, it doesn't go to the correct layout in the Related File. I'm thinking that since the Related TO is two relationships away from the file, that it isn't completing because of it. Hope that you can understand the problem, if not let me know what else you might need. Thank you for you help in advance. K Edited March 25, 2007 by Guest
jteich Posted March 25, 2007 Posted March 25, 2007 Are you using GTRR (go to related record)? This would be the problem. It behaves different on different TOs. Are your two TOs connected in one TOG or are they unrelated? In the later caser your script can't work at all and will give an error. -jens
Kiele Posted March 25, 2007 Author Posted March 25, 2007 Hi Jens, Thank you for your quick response. I'm not sure I'm understanding your points, so I'll need to investigate my files a bit. I know what a TO is, but what is a TOG? I need to go out of town today, so I'll check my files later, and then check back and report. Thanks Again for your help K
jteich Posted March 25, 2007 Posted March 25, 2007 TOG - table occurrence graph the whole graph may be split up into separate 'spiders' which are unrelated. A GTRR step from a TO in one TOG towards a TO in another TOG will fail, because there is no path between the two TOs. But even if you act in one single TOG, the GTRR may fail or produce an unexpected result. -jens
Kiele Posted March 26, 2007 Author Posted March 26, 2007 Okay, I think I'm understanding what I did wrong. Thank you for your help. K
Recommended Posts
This topic is 6454 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