dbTalk Databases Forums  

Viewing variables

comp.databases.filemaker comp.databases.filemaker


Discuss Viewing variables in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Flower Gardener
 
Posts: n/a

Default Viewing variables - 06-04-2007 , 01:52 PM






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.



Reply With Quote
  #2  
Old   
Matt WIlls
 
Posts: n/a

Default Re: Viewing variables - 06-04-2007 , 02:26 PM






In article <ecZ8i.15$Gy4.0 (AT) newsfe12 (DOT) lga> "Flower
Gardener"<ngeti (AT) optonline (DOT) net> wrote:

Quote:
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 every
point 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 could
then use Script Debugger to step through the script.
Matt

--
I'm trying a new usenet client for Mac, Nemo OS X.
You can download it at http://www.malcom-mac.com/nemo



Reply With Quote
  #3  
Old   
Matt WIlls
 
Posts: n/a

Default Re: Viewing variables - 06-04-2007 , 02:34 PM



In article <nemoMon060407032139 (AT) news (DOT) verizon.net> Matt
WIlls<Im (AT) Witz (DOT) End> wrote:

Quote:
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
value was placed in the field.
Matt

--
I'm trying a new usenet client for Mac, Nemo OS X.
You can download it at http://www.malcom-mac.com/nemo



Reply With Quote
  #4  
Old   
Cortical Solutions
 
Posts: n/a

Default Re: Viewing variables - 06-04-2007 , 06:16 PM



Flower Gardener wrote:
Quote:
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


Reply With Quote
  #5  
Old   
Cortical Solutions
 
Posts: n/a

Default Re: Viewing variables: addendum - 06-04-2007 , 06:18 PM



ah, 5.5; don't recall if pop windows were possible
Quote:
Chris Brown

Reply With Quote
  #6  
Old   
Cortical Solutions
 
Posts: n/a

Default Re: Viewing variables: addendum - 06-05-2007 , 07:04 AM



Ursus wrote:
Quote:
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


Reply With Quote
  #7  
Old   
Flower Gardener
 
Posts: n/a

Default Re: Viewing variables - 06-05-2007 , 11:28 AM



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.


"Cortical Solutions" <cbrown (AT) medicine (DOT) adelaide.edu.au> wrote

Quote:
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



Reply With Quote
  #8  
Old   
Matt WIlls
 
Posts: n/a

Default Re: Viewing variables - 06-05-2007 , 12:47 PM



In article <Kgg9i.74$ZX5.17 (AT) newsfe12 (DOT) lga> "Flower
Gardener"<ngeti (AT) optonline (DOT) net> wrote:

Quote:
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.

You would love Advanced, but as I suggested earlier:

Stop the script (Exit or Halt) right after the Find, then use Modify
Last Find (under the Records Menu) to see what value was placed in the
field.
Matt


--
I'm trying a new usenet client for Mac, Nemo OS X.
You can download it at http://www.malcom-mac.com/nemo



Reply With Quote
  #9  
Old   
Ursus
 
Posts: n/a

Default Re: Viewing variables: addendum - 06-06-2007 , 02:56 AM



And neither are variables

"Cortical Solutions" <cbrown (AT) medicine (DOT) adelaide.edu.au> schreef in bericht
news:f426jl$6pc$2 (AT) aioe (DOT) org...
Quote:
ah, 5.5; don't recall if pop windows were possible
Chris Brown



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.