cuiwenyuan
27th October 2005, 10:42
keywords:rprt_send(),Order By
when i add "order by whinr140.clot,whinr140.loca" into the session program scripts,but no order by in the report!
why? anybody can help me,thanks in advance!! :confused:
select whinr140.*
from whinr140
where whinr140.item =:faflx805.item
order by whinr140.clot,whinr140.loca
selectempty
whinr140cwar = ""
whinr140loca = ""
whinr140clot = "" |Troy 2005-10-20
whinr140stks = 0
whinr140stka = 0
whinr140stko = 0
selectdo
whinr140cwar = concat$(whinr140.cwar)
whinr140loca = whinr140.loca
whinr140clot = whinr140.clot |Troy 2005-10-20
whinr140stks = whinr140.stks
whinr140stka = whinr140.stka
whinr140stko = whinr140.stko
rprt_send() |Troy 2005-10-27
endselect
when i add "order by whinr140.clot,whinr140.loca" into the session program scripts,but no order by in the report!
why? anybody can help me,thanks in advance!! :confused:
select whinr140.*
from whinr140
where whinr140.item =:faflx805.item
order by whinr140.clot,whinr140.loca
selectempty
whinr140cwar = ""
whinr140loca = ""
whinr140clot = "" |Troy 2005-10-20
whinr140stks = 0
whinr140stka = 0
whinr140stko = 0
selectdo
whinr140cwar = concat$(whinr140.cwar)
whinr140loca = whinr140.loca
whinr140clot = whinr140.clot |Troy 2005-10-20
whinr140stks = whinr140.stks
whinr140stka = whinr140.stka
whinr140stko = whinr140.stko
rprt_send() |Troy 2005-10-27
endselect