|
Under the 6.5 I could use a form to enter data and do a master-lookup(using a tiered form) with a product number which would find all info for that product. Every product is unique and I have thousands of rows. Since 7.0 does not have a master-lookup I worked around this.
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 Hart
-------Original Message-------
Date: 08/12/04 22:13:05
Subject: [RBG7-L] - Re: Multiple forms
At 09:41 PM 8/12/2004 -0500, Tom Hart wrote:
>To do a look-up of a product using a product number
>I am using a dialog box to enter product number then
>editing a form using the product number and unique
>transaction number. This works fine but keeps opening
>a new form window each time I enter items. My question
>is how do I close the previous form window, I have
>tried Closewindow and Exitform in an exit eeps.
Tom,
Could you post the routine you are using? That will give
a clear picture of what you are trying to do.
Meanwhile, take a look at the various options you can use
with Popup Menus, including:
.. Automatic Popups
.. Double-Click Popups
.. Double-Click Popups with WHERE Clause (LIKE)
.. Double-Click Popups with WHERE Clause (CONTAINS)
.. Double-Click Popups with WHERE Clause (EQ)
For complete details and example:
Database: ConComp
Form: Popup Menus
Command File: PopupMenus.RMD
The entire presentation demonstrates the use of Popup Menus,
as well as bringing up the desired details as a separate
form for viewing, updates, etc.
Hope that helps!
Very Best R:egards,
Razzak.
|