94Sport5sp
Registered User.
- Local time
- Today, 12:53
- Joined
- May 23, 2012
- Messages
- 115
Hi:
For the A2003 mdb that I am working on I would like to display similar information on one form. I believed that tab controls would work but I am having difficulty understanding or setting it up. Essentially I have a table of locations and a second table with details for each location. I would like the first tab(page) of the tab control to load detail data for location 1, second tab(page) of the tab control to load detail data for location 2, etc.
If this is doable, then, how would I set this up? Do I need to create a form for each location and then add that form as a subform (with the appropriate query to select records) to the appropriate tab(page) on the tab control?
General table information:
LocationTbl
LocationId pk autonumber
LocationName text
LastUpdated date
LocationDetailTbl
pk autonumber
fk LocationId
DetailDate date
Quantity Integer
Amount Currency
GroupId fk
There could be up to 30 records per day per location and I would like to use a form to display the data per location with the user selecting a tab(page) to display that days data. The user would need to be able to select which day to display. No edits are to occur. Display only. The number of locations is small, currently 5 location and may grow to a max of 7 locations.
Thanks for your thoughts.
For the A2003 mdb that I am working on I would like to display similar information on one form. I believed that tab controls would work but I am having difficulty understanding or setting it up. Essentially I have a table of locations and a second table with details for each location. I would like the first tab(page) of the tab control to load detail data for location 1, second tab(page) of the tab control to load detail data for location 2, etc.
If this is doable, then, how would I set this up? Do I need to create a form for each location and then add that form as a subform (with the appropriate query to select records) to the appropriate tab(page) on the tab control?
General table information:
LocationTbl
LocationId pk autonumber
LocationName text
LastUpdated date
LocationDetailTbl
pk autonumber
fk LocationId
DetailDate date
Quantity Integer
Amount Currency
GroupId fk
There could be up to 30 records per day per location and I would like to use a form to display the data per location with the user selecting a tab(page) to display that days data. The user would need to be able to select which day to display. No edits are to occur. Display only. The number of locations is small, currently 5 location and may grow to a max of 7 locations.
Thanks for your thoughts.