Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Prompt for Criteria dispay as a Report Header

2 views
Skip to first unread message

Jay

unread,
Jul 16, 2003, 2:41:54 PM7/16/03
to
is anyone know how to you Prompt for Criteria dispay as a Report Header. I
have more than one values to use for Prompt for Criteria.

String array as retrieval arguments's datatype doesn't work so I am using
Prompt for Criteria

Thnaks in advance
Jay

"or_shoham"

unread,
Jul 16, 2003, 3:12:08 PM7/16/03
to
Not possible. Data entered into the prompt for criteria screen is entirely
invisible in the actual report.
Or

Terry Dykstra

unread,
Jul 17, 2003, 11:10:39 PM7/17/03
to
The basic syntax is simply:

select * from mytable
where thecolumn in ('val1','val2').

What database are you using? With ASA you could use a list() function, e.g.
list(thecolumn), which would return "'val1','val2'" as the value. Then you
could display that column on your report.
For other databases like Oracle you can write a function to do the same
thing.

--
Terry Dykstra (TeamSybase)
Please state PB / OS / DB versions in your post.
SDN: http://www.sybase.com/developer/
http://www.pb9books.com


<Jay> wrote in message
news:5A82610F6BC1F125005477C185256D66.006CE6A785256D65@webforums...
> Is anyone know how do I use select statement with where clause for example
> is in('pc300','pc330')? because I can not use retrievel argument as
sttring
> array nor prompt for criteria because I want to dispaly those values on
> report header and none of them solution works.
>
> Thanks in advance
> Jay


Jay

unread,
Jul 18, 2003, 11:53:10 AM7/18/03
to
I am using SQL Server.
I want user to type those values and display those values on Report Header

Thanks a lot
Jay

dk

unread,
Jul 23, 2003, 11:46:25 AM7/23/03
to
Not true. Create a calculated field for the header - and the Prompt fields
are listed in the Columns section.

Or Shoham

unread,
Jul 25, 2003, 10:37:10 AM7/25/03
to
Those are the retrieval arguements, not the prompt for criteria..
Or

dk wrote in message news:<75E98FAC427FD3760056A5CD85256D6C.006CE6A785256D65@webforums>...

0 new messages