General information
Category:
Coding, syntax & commands
Title:
Conditional scan, using if
Environment versions
Network:
Windows 2008 Server
HI
I am not succeeding by using the structure below:
Looks like case or if does not match with scan.
==========================================================
select mytable
if empty (variable1)
scan for field2 = variable2
else
scan for field1 = variable1
endif
endscan
===========================================================
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only