I have table named studentlogs
, and it has column status on it. When I finished inserting records on student logs, I want to use an if .. else
statement. The status column can only have 3 values: 1
, 2
or 3
.
Now, I want to do the following after I insert the records:
if status="1" then
CALL SENDSMS()
ENDif
if status="2" then
msgbox("")
ENDif
if status="3" then
msgbox("")
How can I do it when I am dealing with columns?