G
Guest
I'm trying to expand the usability of this text box ("Tensile Test") by
switching the rcontrol source if the data in it is currently null, or false
(or not checked). Right now, the check box uses this as the control source:
DLookUp("[chkOp120]","Process Codes","[ID Process Key] =" & Forms![Order
Entry]![ID Process Key])
If the Process Code on the current record of the form matches a Process Code
from the Process Codes table that is checked, then a Tensile Test is
required. However, sometimes tensile tests are requested by the customer on
a case by case basis. So I need to be able to check the "Tensile Test" check
box for that particular order only. If seen that DLookup can be used in
conditional controlsource statements like:
=IIf([0830]>=2, DLookup("[LastName] & ', ' & [FirstName]","tblPatients",
"[PatientID] =" & [0830]), Null)
Could I not use a conditional statement to check the table, and change the
control source if it's negative, or false?
switching the rcontrol source if the data in it is currently null, or false
(or not checked). Right now, the check box uses this as the control source:
DLookUp("[chkOp120]","Process Codes","[ID Process Key] =" & Forms![Order
Entry]![ID Process Key])
If the Process Code on the current record of the form matches a Process Code
from the Process Codes table that is checked, then a Tensile Test is
required. However, sometimes tensile tests are requested by the customer on
a case by case basis. So I need to be able to check the "Tensile Test" check
box for that particular order only. If seen that DLookup can be used in
conditional controlsource statements like:
=IIf([0830]>=2, DLookup("[LastName] & ', ' & [FirstName]","tblPatients",
"[PatientID] =" & [0830]), Null)
Could I not use a conditional statement to check the table, and change the
control source if it's negative, or false?