IF/Else statement not working
Question ID:
104869
♥ 0 |
IF/ELSE statement is not working: See below code example: If dtSystemDate = dtMyDate Then msgbox "dtSystemDate = dtMyDate" Set rcMyRecords = DBO.Execute("Update recorddate set locdt = (SELECT TO_CHAR(SYSDATE) FROM location) where locnbr = " & my_Variable.Item("LocNbr") & "and locdtcd = ‘ABC"’) Else End If But BOTH msgboxes are being displayed!!
Marked as spam
|
Answers (1)