![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
In Filemaker 5.5 how do I view the values in global variables as they change during a script? My problem is that the first time into the script I can Find some records but the next time it runs, it says it cannot find any matching records. This particular Find is based on a Global variable which is set one time in an earlier menu. |
#3
| |||
| |||
|
|
In article <ecZ8i.15$Gy4.0 (AT) newsfe12 (DOT) lga "FlowerGardener"<ngeti (AT) optonline (DOT) net> wrote: In Filemaker 5.5 how do I view the values in global variables as they change during a script? My problem is that the first time into the script I can Find some records but the next time it runs, it says it cannot find any matching records. This particular Find is based on a Global variable which is set one time in an earlier menu. You would have to temorarily place the global fields on every layout used during the script and add Pause steps to the script at everypoint at which you want to stop long enough to see the variable. This is, of course, assuming you are not using Developer, in which case you would still have to place the temporary fields, but you couldthen use Script Debugger to step through the script. Matt You could also Modify Last Find (under the Records Menu) to see what |
#4
| |||
| |||
|
|
In Filemaker 5.5 how do I view the values in global variables as they change during a script? My problem is that the first time into the script I can Find some records but the next time it runs, it says it cannot find any matching records. This particular Find is based on a Global variable which is set one time in an earlier menu. |
#5
| |||
| |||
|
|
Chris Brown |
#6
| |||
| |||
|
|
And neither are variables "Cortical Solutions" <cbrown (AT) medicine (DOT) adelaide.edu.au> schreef in bericht news:f426jl$6pc$2 (AT) aioe (DOT) org... ah, 5.5; don't recall if pop windows were possible Chris Brown I'm having a bad day: global myopia |
#7
| |||
| |||
|
|
Flower Gardener wrote: In Filemaker 5.5 how do I view the values in global variables as they change during a script? My problem is that the first time into the script I can Find some records but the next time it runs, it says it cannot find any matching records. This particular Find is based on a Global variable which is set one time in an earlier menu. you can also create a dedicated layout with the globals, and open it as a pop window as part of the script, and jump to it and back to force a refresh . Use a If statement in the script, to raise it or not using a modifier key: option = 8 on a mac; this way normal script execution will not raise the popw. You can create it as a standalone script, and call it as a subscript from other scripts too. The window can stay open while the rest of the script executes, and then use a close window name at teh last stage of the calling script... conditional popw If [ Get ( ActiveModifierKeys ) = 8 ] New Window [ Name: "popw globals" ] Go to Layout [ “uAdmin” (uAdmin) ] Show/Hide Status Area [ Show ] Adjust Window [ Resize to Fit ] End If Chris Brown |
#8
| |||
| |||
|
|
It appears that I will have to upgrade to FM 8 Advanced. The variable I want to view is also the one that controls the FIND so I cannot see anyway to display it when there are no records to show in the LAYOUT. |
#9
| |||
| |||
|
|
ah, 5.5; don't recall if pop windows were possible Chris Brown |
![]() |
| Thread Tools | |
| Display Modes | |
| |