Prakashpdl
New member
- Local time
- Today, 16:44
- Joined
- Apr 25, 2020
- Messages
- 27
Hello I am new to access. I am using Access 2010 and designing simple database. I want to autofill a field depending upon a value selected in previous combo.
I have three situations
1. combo after combo
I have one combo
Hypertension -- yes/No/unknown
If hypertension is "yes", I would like to show 3 options - Mild/moderate/severe in next combo and to show "not applicable" if previous combo selects "No"
2. Text field after combo
combo name "ECG" options are - normal/abnormal
Next text field name - Abnormality
In this field, I will type abnormal finding if first combo selection is "abnormal"
if the combo selection is normal, then text field "abnormality" should autofill "not applicable"
3. Text field after combo
combo name "type" options are - focal/bifocal/multifocal/generalized
subsequent Text field "type cat" - If previous combo selection is one among 3 options "focal"/"bifocal"/"multifocal", text field should auto fill "focal" and if combo selects "generalized", text field should auto fill "non focal"
How can I do it? Requesting VBA code and where to put the codes?
I have three situations
1. combo after combo
I have one combo
Hypertension -- yes/No/unknown
If hypertension is "yes", I would like to show 3 options - Mild/moderate/severe in next combo and to show "not applicable" if previous combo selects "No"
2. Text field after combo
combo name "ECG" options are - normal/abnormal
Next text field name - Abnormality
In this field, I will type abnormal finding if first combo selection is "abnormal"
if the combo selection is normal, then text field "abnormality" should autofill "not applicable"
3. Text field after combo
combo name "type" options are - focal/bifocal/multifocal/generalized
subsequent Text field "type cat" - If previous combo selection is one among 3 options "focal"/"bifocal"/"multifocal", text field should auto fill "focal" and if combo selects "generalized", text field should auto fill "non focal"
How can I do it? Requesting VBA code and where to put the codes?