>I have a BROWSE window (yes I know how evil they are but it is an older system and it does have them). When the client tabs or clicks to say the third column and then presses the ADD button, the code adds a new row to the table. But the focus is still on the third column of the new row. How do I get the focus to the first column (or any specific column) of the new row?
>
>Brenda
Brenda,
the way I have moved around browses in the past was using recursion an the keyboard function...
Assuming the first column is called fred
On key label Ctrl+I Keyboard IIF(Varread() = "Fred", "", "{ctrl+I}")
then when you want to add a new record...
Append Blank
Keyboard "{Ctrl+I}"
Ctrl+I is just a key combination that I made up you can use anything (but try and find one that is not used) you are also best to reset it when finished.
I think it was something like that anyway <g>
HTH
Will Jones