×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
You could do this with prepare and execute. Sometime in your life you may
have to. However there is some advantage to avoiding this. One is that
some information is actually stored in the program about SQL accesses. And
prepare and execute aren't as helpful. A workaround is this
declare cursor c1 as
select ...
from ...
where col1 is between :x and :y
and col2 is between :a and :b
order by ...
Now, let say your screen has the option where x is item class. Now they
can put in one item class or they can put in *ALL. If they put in one,
then set x and y both to that value. If they put in *ALL then set x to
loval and y to hival.
Understand?
Check the changed date on your program after the compile but before any
executions. Check it again after the execution.
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.