dbTalk Databases Forums  

new windows and using them as a selection tool

comp.databases.filemaker comp.databases.filemaker


Discuss new windows and using them as a selection tool in the comp.databases.filemaker forum.



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

Default new windows and using them as a selection tool - 03-26-2007 , 12:50 PM






Has anyone done anything similar to this and/or knows how to go about
it?

1. The user clicks the field to assign an employee
2. a new window pops up with a search field and selection portal
3. the user types in search term and the portal reacts
4. user clicks button to assign employee
5. the new window closes, then the employee's name is in the field in
the original window.

Questions:
1. how do you prevent them from 'x-ing' out the new window? (I have
a cancel button that i need so that i can run a script that not only
closes the new window but maximizes the original window)

2. am i able to keep track of which field i just clicked on (at the
beginning) so the program knows what field to input the name (at the
end)?


Here is how i was planning to go about it:

1. have a button next to the field that they click which executes the
script to open a new window
2. have them use the search portal as described above, with a button
on each line that executes a script that creates a new variable with
the employee's name
3. in the same script as the one used for step 2, close the new window
and go back to the original field and puts the name in the appropriate
field (hopefully somehow captured at the beginning), then maximize the
original window.

Also, when i set a new variable in a script step as global (i.e. $
$variable instead of $variable), do i have to worry about clearing
that out, or does it disappear when the program closes?

Thanks in advance,

EP


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.