Q
Qwijibo
Hi I've got an A-Level Computing Projet to do and I need to know how to
disable a field on a form while the criteria isn't there.
I want to disable a textbox from having anything typed into it if the
the term "shot" is not selected from a list box in the same form.
(Seperate tables with a primary-foreign key relationship)
Eg/ The user inputs the data for a drink into the form and selects
"bottle" from a list of different types of drinks. The textbox called
"price per shot" would be disabled at this point (or from the start
until "shot" is chosen) so nothing can be entered into it. In a new
record the data is entered and the "Type of Drink" is a "shot" so I
want the textbox "price per shot" to be active and able to have data
entered.
Please give me some advice on how to do this - in vba, sql or just
normally - it doesn't matter. Thanks.
Gavin Thompson.
disable a field on a form while the criteria isn't there.
I want to disable a textbox from having anything typed into it if the
the term "shot" is not selected from a list box in the same form.
(Seperate tables with a primary-foreign key relationship)
Eg/ The user inputs the data for a drink into the form and selects
"bottle" from a list of different types of drinks. The textbox called
"price per shot" would be disabled at this point (or from the start
until "shot" is chosen) so nothing can be entered into it. In a new
record the data is entered and the "Type of Drink" is a "shot" so I
want the textbox "price per shot" to be active and able to have data
entered.
Please give me some advice on how to do this - in vba, sql or just
normally - it doesn't matter. Thanks.
Gavin Thompson.