mihaela
6th August 2003, 12:57
The problem is that the session tfgld1101m000 works just fine when activated from the menu or File-Run, but when activated with the zoom.to$ function all the input values of the view fields are 0, giving me the error "Value cannot be zero".
I have also attached a file with the error.
Please, help.
Mihaela.
mark_h
6th August 2003, 15:48
I think the zoom.to$ sets the background variable to true. From just glancing at what source we have for tfgld1101m000 it will expect to import some variables (tfgld100.btno and tfgld100.year). Not sure if this is the same for your system, you may want to check your source.
Mark
mihaela
6th August 2003, 19:59
I have used the function "export" for tfgld100.year and tfgld100.btno but it still doesn't work.
And I don't think this is the problem, because the same session, activated from the main menu or from File-Run works just fine...
Any other idea, please?
mark_h
6th August 2003, 20:27
When using file run or activating off the menu the variable "background" will be false. When using zoom.to$ the variable will be true. So when zooming the program will take a different path versus using the run command. If you own source I recommend putting the session in debug so you can see what it does. You can check session tfgld1100 m000 which does a zoom.to to tfgld1101s000. You may want to try zooming to tfgld1101s000 sub-session versus the main session.
Mark
mihaela
7th August 2003, 09:29
You were so very kind to me, Mark, but I don't own the source... Can you please-please send me the part from the script of tfgld1100m000 where the zoom.to function activates the tfgld1101s000 session ?
Thanks a lot,
Mihaela.