penfold1992
Registered User.
- Local time
- Today, 20:25
- Joined
- Nov 22, 2012
- Messages
- 169
I am trying to get some logic to work.
If a cell has I entered, the cell MUST have another sectioned entered in order to write to the database,
I have tried this but it doesnt seem to work...
i dont really know why it doesnt work but im wondering if anyone can see my mistake.
EDIT:
my mistake is obvious...IsNull(cmbPASCode.Value) = False...
this should be set to true. i feel like a fool for posting this
If a cell has I entered, the cell MUST have another sectioned entered in order to write to the database,
Code:
If (strDataType = "I") And (IsNull(cmbPASCode.Value) = False) Then
If UpdateFlag <> False Then
UpdateFlag = False
MsgBox ("If the data is incoming, you must set a value for PAS Code")
End If
End If
i dont really know why it doesnt work but im wondering if anyone can see my mistake.
EDIT:
my mistake is obvious...IsNull(cmbPASCode.Value) = False...
this should be set to true. i feel like a fool for posting this
Last edited: