Re: RunCommand acCmdFind not working

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: M.L. Sco Scofield (Sco_at_ScoBiz.com)
Date: 09/21/04


Date: Mon, 20 Sep 2004 18:42:31 -0600

Try adding Screen.PreviousControl.SetFocus to your code.

Good luck.

Sco

M.L. "Sco" Scofield, Microsoft Access MVP, MCSD, MCP, MSS, A+
Useful Metric Conversion #17 of 19: 1 billion billion picolos = 1 gigolo
Miscellaneous Access and VB "stuff" at www.ScoBiz.com

"James" <jrcooperatemaildotcom@foo.com> wrote in message
news:3a0401c49f11$eb001c90$a401280a@phx.gbl...
> Hi,
>
> I have an Access 97 app converted to Access 2002. The app
> uses workgroups to hide the Menu bar for standard users.
> To allow user to use the Find command each form contains a
> Find button, which opens the Find dialog.
>
> However, when you search the focus is set to the find
> button so I get - The control 'btnFindRecord' the macro is
> attempting to search can't be searched.
>
> I've tried using the old Access command :
> DoCmd.DoMenuItem acFormBar, acEditMenu, 10, ,
> acMenVer70
>
> And the new command:
> DoCmd.RunCommand acCmdFind
>
> And both have the same effect.
>
> Any suggestions?
> Thanks
>
>



Relevant Pages

  • Re: cannot erase large file on osr6
    ... $change their options and breaks shell scripts which use ... in every previous version of OpenServer, SCO Unix, or SCO Xenix ... This means such things as command line options must ... "expected behaviour" simply differs from that of most SCO users. ...
    (comp.unix.sco.misc)
  • Re: Bash problem
    ... Switch from that traitor SCO to a REAL Linux. ... The first command says "run the program more on the file called file, ... pipe the output of that to the command called &. ...
    (comp.os.linux.misc)
  • Re: Bash problem
    ... Switch from that traitor SCO to a REAL Linux. ... The first command says "run the program more on the file called file, ... pipe the output of that to the command called &. ...
    (comp.unix.shell)
  • Re: IP address from user SCO OSR 507
    ... IP address from user SCO OSR 507 ... What command can I use so I can calculate the IP address where a given user ... # but supplies the correct info via a variable, so if it exists, use it. ... # but openssh supplies the info via variable, so that exists, use it. ...
    (comp.unix.sco.misc)
  • Re: Two, should be, very simple questions.
    ... Open up a command prompt, browse to the root of your cd drive, type "setup /a". ... This will start the administrative setup, which will allow you to specify a path for network deployment. ... Demote then to Standard Users. ... The software thorn in my side is AutoCad as it requires full Admin privileges to run. ...
    (microsoft.public.windows.server.sbs)