Form Table Frame Moves

Form Table Frame Moves

Post by robert emmo » Fri, 21 Oct 1994 22:34:32



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

 
 
 

Form Table Frame Moves

Post by Greg Dunl » Sat, 22 Oct 1994 21:53:17


I know there is a MoveEvent which corresponds to F3/F4. I think its something
like MoveGroupForward/MoveGroupBackward. Anyways, look ot up in online help or
in Tools | Constants. Then you can put some code in the last field which maps
a tab to the tableframe, and in the last field of the tableframe which moves
it back out.

--
Greg Dunlap

J-J-J-J-J-Jackpot!

 
 
 

1. Table frames linked to table frames in a report

Is it possible to create a report which contains two linked tables e.g.
projects and estimates such that the report contains two table frames
with the estimates table being shown when there are estaimtes associated
with the project.

Project Project description
1       Blah                    
2       Blah2                  
3       Blah3                  

        Estimate        Description     Cost    }
        1               Test Est        $100    }linked to estimate 3
        2               Test Est 2      $200    }

Project Project description
4       Blah                    

        Estimate        Description     Cost
        1               Test Est 1      $200    

Project Project description
4       Blah                    
5       Blah2                  
6       Blah3                  

2. Re : Q307309 The Logical Disk Manager Administrative Service Hangs While It Is Starting

3. Moving from Table-Frame to Page Object

4. Pls unsubscribe me from the list

5. moving to last record in a table frame

6. sp_executeSQL limitation of 4000 nchars...

7. Table frames on a form

8. Need help with activex protection.

9. Table frame behaviour in forms

10. Pls help! Report/Form Question : Two table frames

11. Removing Fields from a Table Frame on a Form

12. P4W: Cursor stuck in form's table frame

13. move - servercursor - slow when moving form record 1 to record 20.000