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

Dspfil function problem on Synon

44 views
Skip to first unread message

Kevin Z

unread,
Sep 23, 1999, 3:00:00 AM9/23/99
to
I define a DSPFIL function in Synon. On Screen, I define an input
field. I want only display the records which exactly match the value in
the input field.

I can define input field (key field) as output and map. But it works as
positive parameter. if I define input field as RST,when I generate it,
I receive an error.

How to solve this problem?

Kevin

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

Jay Graves

unread,
Sep 23, 1999, 3:00:00 AM9/23/99
to
You can only RST key fields.

HTH
jay


Kevin Z wrote in message <7sdf33$8q5$1...@nnrp1.deja.com>...

John Ross

unread,
Sep 23, 1999, 3:00:00 AM9/23/99
to
Here is how I select on key fields.

I do my own case statement and compare the CTL to the DB1 if ne *move *no to
*select record.

If it is a large file I use a RTVOBJ over the same access path as the DSPFIL
with POS keys using a high value so it positions to the end of the file so
it does not read a bunch of records it does not have to.

Put the RTVOBJ inside the case statement.

--
John Ross
JR...@IName.com
WWW.NETSHARE400.COM (Internet Access to a Time-Shared AS/400)

0 new messages