[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

2827.0. "Bypass Key Validation on Entry Form Add" by MISFIT::KINNEYD (Reeling in the years) Tue Jun 08 1993 14:01

    I have an entry form that has a single key field called LOGNUM. When
    the user calls the form to add a record, I run a script that generates
    the log number and places it in the field, but does not fill the field,
    generally. The user has to then validate the number in the field by
    hitting a return and continuing on through the screen. 
    
    The user wishes s/he didn't have to go to all of this trouble. Is there
    any way to just load the key field on the form and have the user begin at 
    the next field? 
    
    The entry form is mode=update and I call it using mode=add. I tried
    putting a /one_entry and a /once on the form call from the menu where I
    say mode=add, but that did not acheive the desired effect.
    
    Any help would be appreciated!
    
    Dave Kinney
    
T.RTitleUserPersonal
Name
DateLines
2827.1SuggestionSCOTTC::MARSHALLSpitfire Drivers Do It ToplessTue Jun 08 1993 15:328
You could try playing around with /SAVE_START, OA$VAL_SET_VALID, etc, etc, and
see if you can get it to work, or (and this would be my choice) don't use the
entry form at the UI.  Present the user with an ARG form, in which the LOGNUM is
a display-only field which you fill in.  The user then fills in the rest of the
fields.  When they hit RETURN, the form post-processing could do a WRITE ADD
to the entry form, to put the data in the underlying file.

Scott