[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

1287.0. "When is OA$FORM_DISPOSE set to "1"" by TKTV20::IMAIDA (Keiko Imaida TSC/CSC/Japan) Fri Aug 21 1992 09:48

Hello!
I have a question.
Please tell me about following.

  The special symbol "OA$FORM_DISPOSE" means numeric disposition of current
field. 

  0 = EXIT (GOLD K,GOLD Q,KEY 0,EXIT etc.)
  1 = NEXT (?)
  2 = DONE (CR,ENTER etc.)
  3 = STAY (TAB,BS etc.)


  When is OA$FORM_DISPOSE set to value 1 ?
  And what means "NEXT" of "1 = NEXT" ?

Thanks in advance.

							TSC/CSC/Japan
							Keiko Imaida
T.RTitleUserPersonal
Name
DateLines
1287.13=1 1=3IOSG::CARLINDick Carlin IOSG, Reading, EnglandMon Aug 24 1992 15:589
    Oh dear, it looks like the books are wrong. The table should be as
    follows:
    
    0 = EXIT (GOLD K etc)
    1 = STAY (BS on first field, OA$FLD_STAY etc)
    2 = DONE (CR etc)
    3 = NEXT (TAB and most other field commands if they go to a new field)
    
    Dick
1287.2Very rare to catch itSHALOT::NICODEMAvoid traffic; leave work at noonMon Aug 24 1992 21:318
	The important thing to keep in mind is that OA$FORM_DISPOSE is only
odd while you are still on the form.  Leaving the form -- in any manner --
can only result in a 0 or a 2.  Therefore, the only time you can check for
OA$FORM_DISPOSE being odd (1 or 3) would be in code that is called *while* the
form is still being processed -- such as from a field /PRE or /POST, or a
/VALID, or something like that.

	F