Ask a Question related to Microsoft Access, Design and Development.
-
Jim Franklin #1
Command button behaviour
Hi,
I have a form & subform which contains a command button on the subform.
After running some code, the command button is supposed to return the focus
to a control on the main form using either the .setfocus method or
docmd.gotocontrol ( I have tried both.)
It works fine when you click on the button. However, if you invoke the
button using the keyboard ALT+A (button caption = "&Add") the rest of the
code works but the button does not release the focus to the mainform
control.
Any ideas what I am doing wrong?
Thanks for any help,
Jim F.
Jim Franklin Guest
-
Using Command Behaviour and SQL2000
I am using the command behaviour in dream weaver mx 2004 to insert data into a table using a stored procedure. It is inserting the data... -
DWMX2004 Crashes when using command behaviour
I am trying to use the command behaviour but when i fill it out and attempt to run it crashes? Any idea why? -
Strange button behaviour
Hello, I created an ASPX page with some buttons on it, but one of them is reacting in a strange way : In design mode, if i double click on it,... -
Behaviour 4 a 'sumbit' button
I need to create a behaviour labelled: a. "Submit" The submit behaviour takes input from three input fields labelled 'username', 'password' and... -
Behaviour 4 a 'clear' button
I need to add a behaviour for a clear button as follows: b. "Clear" The clear behaviour removes data typed into the three input fields (username,... -
Wayne Morgan #2
Re: Command button behaviour
I just tried it in Access XP and got the same thing you did. Unless someone has some more
information on this, it sounds like a bug to me.
--
Wayne Morgan
Microsoft Access MVP
"Jim Franklin" <james.franklin@ntlworld.com> wrote in message
news:bdCPa.657$DN5.58437@newsfep1-win.server.ntli.net...> Hi,
>
> I have a form & subform which contains a command button on the subform.
> After running some code, the command button is supposed to return the focus
> to a control on the main form using either the .setfocus method or
> docmd.gotocontrol ( I have tried both.)
>
> It works fine when you click on the button. However, if you invoke the
> button using the keyboard ALT+A (button caption = "&Add") the rest of the
> code works but the button does not release the focus to the mainform
> control.
Wayne Morgan Guest



Reply With Quote

