very urgent :how I order by my report within the report option not change in report query [message #176927] |
Mon, 12 June 2006 01:11 |
mfa786
Messages: 210 Registered: February 2006 Location: karachi
|
Senior Member |
|
|
Hi master
Sir I design the report but I need my report order by cheq_no now my report order by voucher no but If I change in query then my format must be change that very problem for me I again design
Is any option in report through which I order by my report as per my require column I is if I need on cheq_no , voucher_no or date
Please give me idea how I order by my report within the report option not change in report query
Thanking you
aamir
|
|
|
|
|
|
|
Re: very urgent :how I order by my report within the report option not change in report query [message #184649 is a reply to message #176927] |
Thu, 27 July 2006 06:06 |
issbwc
Messages: 4 Registered: June 2006
|
Junior Member |
|
|
You Just take A Parameter Named O_no in report bulder and
make your query as belo....
( :o_no may be 'V' for voucher no, 'C' for chq no, 'D' For Date)
select decode(o_no,'V',<voucger no field>,'C',to_number(<Chq. No. Feild>),2) order_1, decode(o_no,'D',<Voucher_date>,sysdate) order_2
from <table name)
order by 1,2
U Will get the Order no as want
Vikas .....
|
|
|