www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  DB/Textworks    Link Edit Screens
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Posted
I would like to be able to jump from one edit screen to another.

For example...After a query I am presented with an edit screen. From that screen I would like to have a button that enables me to go to a second edit screen. The reason for this is that the first edit screen has a small subset of fields, which is usually all I need, but occasionally I need to go to the more detailed edit screen. Currently I have to close the first edit screen and rerun the search that takes me to the screen I need.

thanks
 
Posts: 2 | Registered: Mon March 25 2002Reply With QuoteEdit or Delete MessageReport This Post
Nee
Posted Hide Post
Scripting can solve the issue. Add a Script button to your Edit form and write a script. Remember to under "Names" give it a name, in the cases below Edit2 and Edit1 is used, and under "Script" write a script as follows (JScript):

The selectFormsEx should have the names of the forms you use in the following order: "Display_Form","Edit_Form","Report_Form","Print_Form"

If you have two Edit forms called Edit1 (your normal edit form) and Edit2 (the form you occasionally wants to use), write in form Edit1, a script as below

function Edit2_onClick()
{
Command.selectFormsEx("Display_Form","Edit2","Report_Form","Print_Form");
Command.editRecord();
}

In the Edit2 form put in a Script button to alter back to your normal edit form.

function Edit1_onClick()
{
Command.selectFormsEx("Display_Form","Edit1","Report_Form","Print_Form");
Command.editRecord();
}


NE Engström
 
Posts: 25 | Location: Falun, Sweden | Registered: Wed August 16 2000Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  DB/Textworks    Link Edit Screens