this application is all bundled into one Navigation form. the hierarchical tables are:
Corporations
Locations
Sites
Complexes
Units
Systems
Equipment
Sample Points (and then more tables)
I have one Nav tab (with frmConfigureCorporations) including list boxes which are used to configure Corporations, Locations and Sites. Another Nav tab (with frmConfigureSites) includes list boxes for configuring the other listed tables.
The frmConfigureSites includes two combo's which allow me to select the Corporation and Site that I want to configure on that form.
What I want to do is have the default values for those two combo boxes default to the CorporationID and SiteID that are the currently selected Corporation and Site on the frmConfigureCorporations. I think I know how to do this, but I don't know what the best way is.
In frmConfigureCorporations I can set TempVars for the gtvCorporationID and the gtvSiteID, or I can create Global variables in my Globals module and keep public global longs. then I can use those as the default values for the two combos in frmConfigureSites.
Which is the best choice, and is there any advice such as "be certain to always clear..." etc
And in the after update event for the combos, I suppose I should re-set the global variables if the user changes the combo?
__._,_.___
Posted by: david.pratt@outlook.com
| Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (1) |
Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.
.
__,_._,___
Tidak ada komentar:
Posting Komentar