>Hi folks - I seem to have a problem that I keep experiencing. I create my forms and the texboxes etc. I create my tables and views. I link the text boxes to the views. Everything is OK except when I add the first record in an empty table. I have my add button that clears the view and appends a blank record but I can't seem to get the first textbox to recieve focus without clicking in it. As soon as I have a record in the table and add another it's fine! Anyone experienced this or nop of a solution?
Chris,
When you have no records in the view and the textbox is bound to it, the textbox is disabled. Even if you attempt to set focus to it, it will fail. After you addpend the blank record, issue a form refresh (or simply a textbox.Refresh) so the textbox knows there is now data under it and then issue a Textbox.SetFocus.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao