• Subject: RE: Put cursor in a displayfile based on a given fieldname
  • From: Ryan Walls <rwalls@xxxxxxxxx>
  • Date: Fri, 3 Oct 1997 14:50:31 -0700

I believe you can use DSPATR(PC),  on the field you want to position the cursor 
to.    

-----Original Message-----
From:   Daan Koster & Sybke Wempe [SMTP:kosterd1@xs4all.nl]
Sent:   Friday, October 03, 1997 1:06 PM
To:     RPG400-L@midrange.com
Subject:        Put cursor in a displayfile based on a given fieldname 

Hi,

Does anyone know a way to place the cursor in a field without providing
the hardcoded column and row position in your program and the DDS
definition:
 
      A          R RECORD1                   CSRLOC(LINNBR POSNBR)
      A            TITLE         40   B  1  2
      A            PAGE           5Y OB  1 60
      A            TEXT        1760   B  2  1
      A            LINNBR         3  OH
      A            POSNBR         3  OH

I can't find a DDS keyword like PutCursor(FieldName). 
Is it posible with a API?

Thank you for any ideas you might have.

Daan Koster
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
uucp

application/ms-tnef


This thread ...


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

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