November 23, 200421 yr I'd like a script to go to a window name, if that window is open, and if it's not, then open a new window and go to a certain layout ? How is that possible ? Is there something analagous to If IsOpen(Windowname) :
November 23, 200421 yr One way of doing this is to check after you go to the window name Select Window ["My Window"] if [get (windowName) <> "My Window"] New Window ["My Window"] end if
November 24, 200421 yr LOL - it's fashionable to use windows now me thinks. Before I used to make different layouts look identical except for the information and menu choice. Now it's just so simple to use the same layout for different things, resize to fit, etc - I think it just looks better - provided you can control how many windows are open, closed and used. I am using ONE client window for all of my tables - like quotations, orders, invoices - when I use the link button on invoicing to go to the client window, I make it write to a field that it was Invoicing that made the request, so that when I select the client name, the script looks to find out who asked for the client name and it copies the information into the open invoicing record IF it is not locked from modification. This means I don't need a client window for every table. I have used the TYPE AHEAD portal in the client table so that you can FIND client by partially typing in the name - also, you can go to client by contact name. this is why I don't simply set up a value list. I use it also to display a bigger screen(request resize to fit) to show information about their account history and their reliability of ON TIME payments and assign them multiple addresses which I can assign as client address, accounts address, delivery address, etc. What does everyone else use extra windows for - any interesting concepts behind this additional window feature of FileMaker 7 (other than multiple finds) Matt
Create an account or sign in to comment