> SO my final solution is: > > 1. Calling program for data entry: > > SET VAR vFormUse = 'Enter' > ENTER LossForm
Remember, you can check the mode of the form after it is launched by reading the value of the RBTI_FORM_MODE variable.. it will be EDIT or ENTER depending on how the form was called Enter using or Edit using. > 2. Callling program for data editing: > > SET VAR vFormUse = 'Edit' > EDIT USING LossForm WHERE... > > 3. On entry to row EEP > > IF vFormUse = 'Enter' THEN > Property SET_FOCUS IncidentCompNoCombo 'True' > ENDIF > > David Blocker > [EMAIL PROTECTED] > 781-784-1919 > Fax: 781-784-1860 > Cell: 339-206-0261 > ----- Original Message ----- > From: "Stephen Markson" <[EMAIL PROTECTED]> > To: "RBG7-L Mailing List" <[email protected]> > Sent: Sunday, December 26, 2004 10:04 PM > Subject: [RBG7-L] - RE: Tab Form: setting focus to first field on tab form > > > > Does the SKIP TO command work? Or can you set focus to the first field > with > > a property command? > > > > You should be able to have an "On focus EEP" for the tab that does a SKIP > TO > > or a NEXTTAB, PREVTAB which should bring you to the first field. However, > it > > appears that the "On focus EEP" does not fire when you first open the > form. > > This could be a bug. > > > > Regards, > > > > Stephen Markson > > ForenSys The Forensic Systems Group > > www.ForenSys.ca > > 416 482 2140 > > > > > -----Original Message----- > > > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of David M. > > > Blocker > > > Sent: December 26, 2004 6:08 PM > > > To: RBG7-L Mailing List > > > Subject: [RBG7-L] - Tab Form: setting focus to first field on tab form > > > > > > Is there any way with a tab control form to force focus into the first > > FIELD > > > on the first tab rather than on the tab control itself? > > > > > > In this case the first field on the first tab is a combo box. > > > > > > I've tried: > > > > > > On row entry eep: > > > > > > PROPERTY SET_FOCUS IncidentCompNoCombo 'TRUE' > > > RETURN > > > > > > On after start eep: > > > > > > PROPERTY SET_FOCUS IncidentCompNoCombo 'TRUE' > > > RETURN > > > > > > Moving the tab control from the first position in tab order: it wont' > > stick > > > and jumps back to position one after you click OK. > > > > > > Is this possible to do? Or MUST the focus be on the tab control when > the > > > form comes up? > > > > > > > > > David Blocker > > > [EMAIL PROTECTED] > > > 781-784-1919 > > > Fax: 781-784-1860 > > > Cell: 339-206-0261 > > > > >
