dbTalk Databases Forums  

new window calculation

comp.databases.filemaker comp.databases.filemaker


Discuss new window calculation in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Dan
 
Posts: n/a

Default Re: new window calculation - 07-01-2005 , 11:22 AM






Hello pri,

In these multi-window solutions I think the GTRR step works best with opening
a new window. So perhaps your script should be the opposite of what we have
done so far: (in words not steps) find out if the window is Open and if it
is Close it. Then let the GTRR Open the new window for you.

Quote:
I'm not sure if i was clear, but i have placed the button inside the
portal and a script is executed to open a new window. But still the
related record that opens is the first one, not the record in the row
the button was clicked.

If i dont use a script on the button and just the function :
GoToRelatedRecord and then specify the table and layout, a new window
opens with the correct record showing. But a new window opens for each
record i click on. I want to just have one new window to open and
change the record in that new window each time. With the script i can
acheive the one new window feature but it only opens the first record
from the portal.

Hope this is better.





Reply With Quote
  #12  
Old   
pri
 
Posts: n/a

Default Re: new window calculation - 07-01-2005 , 11:29 AM






ahh yes, that would seem to do what i asked. thank you.

but it is a bit awkward, any other solutions?


Reply With Quote
  #13  
Old   
Dan
 
Posts: n/a

Default Re: new window calculation - 07-01-2005 , 12:23 PM



Hello pri,

Actually I think it is easier -no bias here

Your script only needs two steps: Close Window [Name:WindowA] and GTRR. If
the windows isn't open then an error may be generated but you don't need
to know about and there is no error message to disturb the user.


Quote:
ahh yes, that would seem to do what i asked. thank you.

but it is a bit awkward, any other solutions?





Reply With Quote
  #14  
Old   
pri
 
Posts: n/a

Default Re: new window calculation - 07-01-2005 , 12:38 PM



yes you are right about the simpleness in the scripts but the
awkwardness is that lets say the window is created in the top right,
but the user moves it to the bottom left and resizes the window. Now if
the users clicks on the button int he portal a second time the
moved/resized window will close and a new window in the original
location(top right) will open. The new window will not "replace" the
old window that was resized and moved. So for the user there will be a
slight inconvience of resizing and re-moving the window each time the
script is accesed, and obviously the user will see the windows
closing/opening.

that is why, i found it awkward to do. I was expecting a script that
continues to use the same window but changing the related records based
on the row the button was clicked. sorry for being picky. thanks for
the help.


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.