B
bobdydd
Hi Everybody
I am trying to select a constant depending on whether a box is ticked
and I cannot use the usual techniques outside of a procedure
has anyone got any ideas how to get aroud this?
Regards Bob
If Me.chkTabs = 0 Then
'Private Const adhcTable = "UsysTEMPCategory"
Private Const adhcFieldName = "SupplierCategory"
End If
If Me.chkTabs = -1 Then
Private Const adhcTable = "UsysTEMPStortvalleyCategory"
Private Const adhcFieldName = "StortvalleyCategorytxt"
'End If
I am trying to select a constant depending on whether a box is ticked
and I cannot use the usual techniques outside of a procedure
has anyone got any ideas how to get aroud this?
Regards Bob
If Me.chkTabs = 0 Then
'Private Const adhcTable = "UsysTEMPCategory"
Private Const adhcFieldName = "SupplierCategory"
End If
If Me.chkTabs = -1 Then
Private Const adhcTable = "UsysTEMPStortvalleyCategory"
Private Const adhcFieldName = "StortvalleyCategorytxt"
'End If