My button adds a row to whatever table my cursor is sitting in at the
time.  So if I'm in my main table, it will add a row there, if I'm in my
region, it adds a row to the region.  If you want your button to add a
row to the region no matter where the cursor is, then you'll have to use
the Property...append as your doing. 

-----Original Message-----
From: Jan Johansen [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 07, 2005 2:19 PM
To: RBG7-L Mailing List
Subject: [RBG7-L] - RE: Form Question

Dawn,

Solved my own issue.

But I am using a Bit Button that issues the command PROPERTY TABLE
<TableName> 'APPEND'
then to get the first field in the Scrolling Region PROPERTY <fieldname>
SET_FOCUS 'TRUE'

As an experiment I set up another bit button to just use the predefined
add row and it added a row to the main table, not the sub table. How is
yours set up?

Jan


----- Original Message -----
From: "Dawn Oakes" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Friday, October 07, 2005 10:54 AM
Subject: [RBG7-L] - RE: Form Question


Jan
How are you adding the row and where are you issuing the property
command from?  Do you have a button that adds the row and then issues
the property command, or is it in the table settings?

When I add a row while editing (either by pressing F2 or using a bit
button with a pre-defined add row), my cursor automatically goes to the
first field in the region. I don't have to issue the set_focus property
command to get there.

Dawn

-----Original Message-----
From: Jan Johansen [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 1:45 PM
To: RBG7-L Mailing List
Subject: [RBG7-L] - Form Question

7.5 latest build

Form is 2 table. Form set one-to-many. Table 2 is in a scrolling region
with DB-Edits.
I have set the tab-order in the scrolling to be linear across the line
of 7 DB-Edits.

When I add a row to the second table I issue a PROPERTY <componentid>
SET_FOCUS 'TRUE' and my cursor goes to the first DB-Edit which is what I
want. But if I press the TAB key to move to the next field my cursor
vanishes.
I can get the cursor back by clicking on the next field but I thought
the Tab-order would take care of that.
I can issue a SKIP TO in the On-Exit EEP and my cursor goes to where I
want it.

Am I doing something wrong(been known to happen)?

Jan Johansen

Reply via email to