eighthundred
Registered User.
- Local time
- Today, 01:01
- Joined
- Aug 15, 2005
- Messages
- 11
hi there, i'm new to the board and access... got this question, donno how to fix it. anyone, pls help.
i create this db pretty much using wizards and following books...
i have 2 table: tb1 and tb2
tb1 has fields A, B1, C, D; where A is the key and B1 is a combo box that select value from tb2. tb1 now have 100+ records.
tb2 has fields B1, B2, B3, B4; B1 is the key. got 4 records only.
then i got the query (myQuery) using wizard that pick everything (except B1@tb1) from the 2 table. so the query looks like:
A, B1(from tb2), B2, B3, B4, C, D
since the relationship, when i select a value in the combo box(B1) B2-B4 will auto filled.
then i got "myForm" based on myQuery... and here comes the problem.
i DO want the auto filled feature (it's 1 of the reason why i built the db like this). if users select value from the combo box B1, it's ok. since B2-B4 are just textbox, i could lock or disable them. but how can i avoid user change the value of B1 in the form? if i lock/disable B1, the combobox (and the auto filled feature) will dead too. but if i leave it like this, user could actually type in something that change tb2.
another bigger problem is: the 4 records in tb2 will sooner be changed (update), but the exitig 100+ records @ myQuery/tb1 will not need to change. how can i avoid it too? someone told me i'll need to remake the db since it's a design problem... is it true?
i create this db pretty much using wizards and following books...
i have 2 table: tb1 and tb2
tb1 has fields A, B1, C, D; where A is the key and B1 is a combo box that select value from tb2. tb1 now have 100+ records.
tb2 has fields B1, B2, B3, B4; B1 is the key. got 4 records only.
then i got the query (myQuery) using wizard that pick everything (except B1@tb1) from the 2 table. so the query looks like:
A, B1(from tb2), B2, B3, B4, C, D
since the relationship, when i select a value in the combo box(B1) B2-B4 will auto filled.
then i got "myForm" based on myQuery... and here comes the problem.
i DO want the auto filled feature (it's 1 of the reason why i built the db like this). if users select value from the combo box B1, it's ok. since B2-B4 are just textbox, i could lock or disable them. but how can i avoid user change the value of B1 in the form? if i lock/disable B1, the combobox (and the auto filled feature) will dead too. but if i leave it like this, user could actually type in something that change tb2.
another bigger problem is: the 4 records in tb2 will sooner be changed (update), but the exitig 100+ records @ myQuery/tb1 will not need to change. how can i avoid it too? someone told me i'll need to remake the db since it's a design problem... is it true?