If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > FileMaker > Perform Script does not display expected layout

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-26-04, 01:27
dmilbrath dmilbrath is offline
Registered User
 
Join Date: Feb 2004
Location: Illinois
Posts: 8
Perform Script does not display expected layout

OS=Windows 2000.

Still learning Filemaker Pro 6.0 so please bear with me.

I have created a script that performs a find on a Actor DB (This appears to work fine).

If there is no data (records) found then i have it do the following:

Show all records
sort
go to layout (original Layout)
perform script(GoToMainMenu)
exit script
endif

* The GoToMainMenu Script is a simple script that calls an external script (in Movie File) that takes you to the MainMenu of the Movie File *

Here is where my problem lies:

The best i have been able to do is get a different layout in the "Actor" file to be displayed.

I am at a loss for the reason for this.

I have tried miminizing the "Actor" layout and still that layout is the one displayed.

Can anyone help me with this and explain what is going on?

Thanks in advance for any help.

UPDATE:

I modified the "GoToMainMenu" Script in the Movie File (this is the external script called from above) to include a:

Halt Script Step

This does place me in the active window from that script. But, i still donot understand why the other exit script steps would not do the same thing. Is there some basic script philosophy i am missing.

again any help would be appreciated.

Last edited by dmilbrath; 12-26-04 at 13:52.
Reply With Quote
  #2 (permalink)  
Old 01-03-05, 17:03
edmonton edmonton is offline
Registered User
 
Join Date: Sep 2003
Location: San Diego
Posts: 25
Because you have script steps in current script after Perform Main Menu Script, the layout comes back to the file that has this script. You will have to remove all steps after Perform Main Menu script for it to stay in the Moive File.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On