I have a calculated field on a form HM.
HM will either give me a number or a X. I have a combo that is set to Yes/No. I would like to either enable the combo if HM is a number -- IsNumber([HM]), or disable HM if it equals X.
Willie
Code:
=IIf(DMin("[ID1]","[Production Schedules]","HNumber = " & [HNumber] & " AND SJoin = '" & [Sjoin] & "'")=[ID1],DSum("[PourWeight]","[Production Schedules]","HNumber = " & [HNumber] & " AND SJoin = '" & [Sjoin] & "'")+[KBw],"X")
HM will either give me a number or a X. I have a combo that is set to Yes/No. I would like to either enable the combo if HM is a number -- IsNumber([HM]), or disable HM if it equals X.
Willie