Zanzibarjones
New member
- Local time
- Today, 08:01
- Joined
- Oct 7, 2011
- Messages
- 3
I am making a simple db to track mining for an online game (no not WoW), another one.
Anyway, I have 2 tables.
tbl_Minerals: Which has these 2 fields:
MineralName (text field)
stoneValue: (currency field)
So it looks like this:
tbl_Minerals:
MineralName stoneValue
Mineral1 $0.01
Mineral2 $0.02
Mineral3 $0.02
Mineral4 $0.05
etc for about 30 records.
tbl_Claims:
Longitude Latitude Elevation Depth stoneQty Mineral
100001 900001 421 123m 85 Mineral1
100011 900002 421 225m 15 Mineral3
100211 802130 123 425m 234 Mineral1
I would like a Form to allow me to input the data into my tbl_Claims.
So I have txt fields for Longitude,Latitude, Elevation, Depth, stoneQty. I can manually enter the data into those fields fine. But when it comes to Mineral, I want the form to show me a list box of the data from tbl_Minerals, and only show the field MineralName, so I can choose one of them, and it ads that mineral to the text field in tbl_Claims.Mineral.
Is this done through a ComboBox with a Controlsource that points to a query that gives me that list and puts it into ascending order?
Anyway, I have 2 tables.
tbl_Minerals: Which has these 2 fields:
MineralName (text field)
stoneValue: (currency field)
So it looks like this:
tbl_Minerals:
MineralName stoneValue
Mineral1 $0.01
Mineral2 $0.02
Mineral3 $0.02
Mineral4 $0.05
etc for about 30 records.
tbl_Claims:
Longitude Latitude Elevation Depth stoneQty Mineral
100001 900001 421 123m 85 Mineral1
100011 900002 421 225m 15 Mineral3
100211 802130 123 425m 234 Mineral1
I would like a Form to allow me to input the data into my tbl_Claims.
So I have txt fields for Longitude,Latitude, Elevation, Depth, stoneQty. I can manually enter the data into those fields fine. But when it comes to Mineral, I want the form to show me a list box of the data from tbl_Minerals, and only show the field MineralName, so I can choose one of them, and it ads that mineral to the text field in tbl_Claims.Mineral.
Is this done through a ComboBox with a Controlsource that points to a query that gives me that list and puts it into ascending order?