Jan

Assign a componentID to the first field then use:

PROPERTY your_component_id set_focus ‘TRUE’ 

when you finished your check and appended the row

 

Gunnar Ekblad

Kontema IT AB

Hästholmsvägen 32

131 30 Nacka

Sweden

 

-----Ursprungligt meddelande-----
Från: [email protected] [mailto:[email protected]] För Jan Barley
Skickat: den 29 september 2009 13:46
Till: RBASE-L Mailing List
Ämne: [RBASE-L] - RecNo in scrolling region

 

Good morning everyone!

I have a scrolling region on a two-table form.  The first table is the
invoice header info, the second is the line items.  I put a check in to be
sure that the item total matches the invoice amount.  If it does not, I
append a row to the line items and edit it.  The check calculates on the
last field in the region, ItemAmt.  When I append a new row, the cursor goes
right to the ItemAmt field and won't let me select a new item because it
recalculates on exit.  How can I get the cursor to go to the first field in
the region?  I have played with the getproperty ->RecNo but don't know what
to do with it after I find the value!  Any ideas what I am obviously doing
wrong?

Thanks!

Jan Barley

Reply via email to