Nov 5 2007, 06:02 PM
I have a command box that if I place the command box in the detailed section I can set focus after the backend code is completed to any feild on the form.
now if that command button is in the header I cannot get it to set focus to any where in the detailed area?
how can I get it to leae the header area to go into the detailed section with a setfocus command?
Nov 5 2007, 06:33 PM
That should move the focus, if you are in the header, to a control in the Detail section. If this is not your question then please restate it as I am not sure what you mean by 'command box' and 'backend code'...
Nov 6 2007, 08:45 AM
problem was I had to set focus to the form, then setfocus to the subform and then setfocus to the feild within that subform.
What the button was doing was going out and opening up another form - you made some selections - and then those selections brought back data to the initial form.
the setfocus, setfocus, setfocus worked
Nov 6 2007, 09:49 AM
You are welcome. Glad to hear that you got everything working...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here