× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Yes, but you may run into a stumbling block if the field is numeric.

To use the '?' in a numeric field make sure you specific the field as alpha
with
CHECK(RZ) on the DDS that way the user can enter either the '?' or actual
code

joem


----- Original Message -----
From: "Douglas W. Palme" <dpalme@xxxxxxxxxxxxxxxxxxxxx>
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Sent: Tuesday, November 30, 2004 10:44 AM
Subject: Re: Is this possible and if so


> I am assuming that the same could work if the user entered say a "?" in
the
> field and then pressed enter which would allow the program to display a
> windowed display file with the choices correct?
>
> On Tue, 30 Nov 2004 10:15:00 -0600, joe wrote
> > Aside from CHECK(ER) mention earlier another alternative offering better
> > control is a command key to display a pop-up selection list showing both
> > code and desc to select from. After making the selection return the
> > user to the original dialog with both the code and desc filled in,
> > from here the user may press enter and proceed.
> >
> > > Suggestions? Or is this something that is better handled via help
files?
> > > The problem I see with help files is constantly making changes as we
> enter
> > > new code violation codes or delete ones no longer needed.
> > To keep your help facility current and up-to-date have your help manager
> > based off a database file reading the violation desc file.
> >
> > joem
> >
> > ----- Original Message -----
> > From: "Douglas W. Palme" <dpalme@xxxxxxxxxxxxxxxxxxxxx>
> > To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
> > Sent: Tuesday, November 30, 2004 9:43 AM
> > Subject: Is this possible and if so
> >
> > > I was wondering if this is possible and if so, if someone would point
me
> > in
> > > the right direction.
> > >
> > > I have a display file that a user uses to enter in motor vehicle
> > citations,
> > > accidents, etc.  There are three fields: a date of the violation
field,
> > the
> > > state in which the violation occured and a violation code field which
> > > accepts a numeric value between 01 and 99.  what I would like to do is
> > have
> > > the program display the corresponding description as soon as the user
> > enters
> > > the code value, IE: they enter 01 and exit the field and a description
> > field
> > > on the display file shows the description for that code.
> > >
> > > Suggestions? Or is this something that is better handled via help
files?
> > > The problem I see with help files is constantly making changes as we
> enter
> > > new code violation codes or delete ones no longer needed.
> > >
> > > Suggestions?
> > >
> > > Douglas
> > >
> > > --
> > > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
> list
> > > To post a message email: RPG400-L@xxxxxxxxxxxx
> > > To subscribe, unsubscribe, or change list options,
> > > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> > > or email: RPG400-L-request@xxxxxxxxxxxx
> > > Before posting, please take a moment to review the archives
> > > at http://archive.midrange.com/rpg400-l.
> > >
> >
> > --
> > This is the RPG programming on the AS400 / iSeries (RPG400-L)
> >  mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To
> > subscribe, unsubscribe, or change list options, visit:
> > http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-
> > L-request@xxxxxxxxxxxx Before posting, please take a moment to
> > review the archives at http://archive.midrange.com/rpg400-l.
>
>
> --
> Open WebMail Project (http://openwebmail.org)
>
> --
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
>


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.