I have a form which has a master table (orders) and a detail
table (lineItems). Fields from the orders table are shown as
well as a table frame for matching records from the lineItems
table.
My users are not happy that they have to press <F3> and <F4>
(or click with the mouse) in order to enter and exit the
lineItems table frame. They want the cursor to tab seamlessly
through in and out of the table frame, as if its records were
just like the orders fields.
I've used the action method to trap the appropriate event:
method action(const eventInfo ActionEvent)
if eventInfo.id() = DataNextRecord and quantity.isBlank() then
msgInfo("Triggered", "Move to orders field")
endif
endmethod
However, I can't find a way to move the cursor to the
appropriate orders field:
orders.custNum.moveTo()
and
eventInfo.setID(MoveDown)
both flashe the cursor on the custNum field of orders, but it
returns immediately to the lineItems table frame.
How can I leave the lineItems table frame to the
orders.custNum field?
--
Robert Emmons When you believe things without proof
CalcShop Inc. you're in danger of believing almost