Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
C/exec sql declare c1 cursor for C+ select cnme, bsdst#, substring(bssdat,1,6), sum(bsexbs) C+ from bsf100s C+ join brcm on bsdst# = rcusno C+ join rcm on bsdst# = ccust C+ where substring(bssdat,1,6) between :strdat and :enddat C+ and bsrtyp = 'S' C+ group by cnme, bsdst#, substring(bssdat,1,6) C+ order by cnme, bsdst#, substring(bssdat,1,6) C/end-exec
C/exec sql C+ open c1 C/end-exec
C sqlcod doune 0 C/exec sql C+ FETCH NEXT FROM C1 INTO :icnme, :idst#, :isdat, :iexbs C/end-exec
IF SQLCOD is not equal 0 ang not equal to 100 can I still use the data?
Guy Henza guyhenza@xxxxxxxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.