Data entry field, what best to use?
Posted: Sun Sep 02, 2012 3:16 pm
I have a screen (card) that needs to be able to accept from zero to 200 separate fields the user may enter. (These are alternate references they may wish to link to the main record, and consist of 11 character fields.)
Something along these lines:
Obviously, there are some pretty basic needs for this:
The other parts seem a wee bit more problematic.
The cRevTable object doesn't seem to be documented in the dictionary, and though I can use the message watcher to figure out the messages it is using, I am a little worried that it may be deprecated or something, and using it will be troublesome.
I did look at using a data grid, but for data entry, it needs to move from field to field with the Tab character, as well as move backwards with Shift-Tab. The Data Grid worked nicely within a row, but did not move from row to row using the tab key.
What do you guys use in a case like this? I suspect I am once again, missing something fairly simple.
Thanks -Paul
P.S. The five "fields" across that fit across the screen above are screen fields, not fields in a record. In fact, each screen field equates to a separate record. This is formatted for data entry, not a representation of the data once processed. -PR
Something along these lines:
Code: Select all
XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX
XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX
XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX
XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX
...
...
...
- The entry screen will need to scroll this entry area vertically but not horizontally
- I need to be able validate each field's format as it is entered
- Allow user to add and/or delete entries in the table
- Sort the data before sending it on to the mainframe to validate and process.
The other parts seem a wee bit more problematic.
The cRevTable object doesn't seem to be documented in the dictionary, and though I can use the message watcher to figure out the messages it is using, I am a little worried that it may be deprecated or something, and using it will be troublesome.
I did look at using a data grid, but for data entry, it needs to move from field to field with the Tab character, as well as move backwards with Shift-Tab. The Data Grid worked nicely within a row, but did not move from row to row using the tab key.
What do you guys use in a case like this? I suspect I am once again, missing something fairly simple.

Thanks -Paul
P.S. The five "fields" across that fit across the screen above are screen fields, not fields in a record. In fact, each screen field equates to a separate record. This is formatted for data entry, not a representation of the data once processed. -PR