theKruser
Registered User.
- Local time
- Today, 04:47
- Joined
- Aug 6, 2008
- Messages
- 122
Is it possible to change form labels to display info that depends on the selection of a combo box?
For example, suppose:
tblFormData
-FormDataID (PK)
-FormLabelsID (FK)
-Text1
-Text2
-Text3
-Text4
tblFormLabels
-FormLabelsID (PK)
-LabelForTxtText1
-LabelForTxtText2
-LabelForTxtText3
-LabelForTxtText4
frmDataEntry
-cboFormLabelsID
-lblText1
-txtText1
-lblText2
-txtText2
-lblText3
-txtText3
-lblText4
-txtText4
The labels on frmDataEntry should change dynamically with the selection made in cboFormLabelID. All boxes in frmDataEntry will store a value in tblFormData.
The reasoning behind this request is to be able to "create" new forms by entering records in tblFormLabels. I say "create," but in actuality there will only be the one form, just the labels on the text boxes will change depending on the selection made.
Iknow I basically just repeated myself, but I don't really know how else to explain it. If I am not conveying my thoughts well, please let me know. Thanks in advance for any help you can give.
For example, suppose:
tblFormData
-FormDataID (PK)
-FormLabelsID (FK)
-Text1
-Text2
-Text3
-Text4
tblFormLabels
-FormLabelsID (PK)
-LabelForTxtText1
-LabelForTxtText2
-LabelForTxtText3
-LabelForTxtText4
frmDataEntry
-cboFormLabelsID
-lblText1
-txtText1
-lblText2
-txtText2
-lblText3
-txtText3
-lblText4
-txtText4
The labels on frmDataEntry should change dynamically with the selection made in cboFormLabelID. All boxes in frmDataEntry will store a value in tblFormData.
The reasoning behind this request is to be able to "create" new forms by entering records in tblFormLabels. I say "create," but in actuality there will only be the one form, just the labels on the text boxes will change depending on the selection made.
Iknow I basically just repeated myself, but I don't really know how else to explain it. If I am not conveying my thoughts well, please let me know. Thanks in advance for any help you can give.