I Try.

Very Best R:egards,

Razzak.



At 10:30 AM 8/13/2004 -0400, David Block wrote:

You explain things SOO well!


----- Original Message -----
From: "A. Razzak Memon" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, August 13, 2004 12:23 AM
Subject: [RBG7-L] - Re: Multiple forms


> At 10:37 PM 8/12/2004 -0500, Tom Hart wrote: > > >My application uses a dialog box to prompt for the product number and also > >assigns a transaction number. Then I edit using a form by the assigned > >transaction number. I then have an exit eep from the last field of a > >scrolling region where the dialog box prompts me for another product > >number and assigns the same transaction number then edits the form again > >by the transaction number. This is repeated for however many items are > >being sold(could be 1 to whatever). As I mentioned the process works fine > >but each time I enter a new product number a new form is opened on top of > >the proceeding form. The new form has all the rows in the scrolling > >region that I have entered. I just want to know how to close all the > >prior forms if possible. > > > Tom, > > It looks like you are using the *exact same* form which > has the Exit EEP on the last field which brings up the > same form on the top, and again the Exit EEP brings up > the form and so on .... This creates an infinite loop > without having the opportunity/process to close the > original form. > > What you really need is a *separate form* to bring up > all details based on assigned transaction number and > does NOT have the Exit EEP to bring another form. The > [Close] button on this new form should include the > following EEP: > > SAVEROW > CLOSEWINDOW > RETURN > > Then, to display all changes, new records, etc., on > the original form you'll need to use the following > PROPERTY commands to refresh the table as well as set > focus on the last row in Scrolling Region. > (the original form) > > The Exit EEP in last field of Scrolling Region control > should look like the following: > > EDIT USING AnotherFormName WHERE TransNo = .vTransNo > PROPERTY TABLE <MainFormTableName> 'REFRESH' > PROPERTY TABLE <MainFormTableName> 'LAST' > RETURN > > That's all there is to it! > > Very Best R:egards, > > Razzak.



Reply via email to