Home > Archive > MS Access data conversion > November 2005 > How convert Docmd.Domenuitem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How convert Docmd.Domenuitem
mscertified

2005-09-29, 8:25 pm

I'm converting a 97 db to 2000.
A form has a button that executes a Docmd.Domenuitem command.

This is supposed to invoke Find and Replace. It does, but the subject is
grayed out. I need the find to be based on the control where the cursor was
when the button was pressed. Any ideas? Access help in 2000 does not even
mention this command neither does my Access book.
John Nurick

2005-09-30, 3:24 am

Maybe you need to do

Screen.PreviousControl.SetFocus
DoCmd.RunCommand acCmdFind

or DoCmd.FindRecord

On Thu, 29 Sep 2005 13:43:03 -0700, "mscertified" <rupert@tigerlily.com>
wrote:

>I'm converting a 97 db to 2000.
>A form has a button that executes a Docmd.Domenuitem command.
>
>This is supposed to invoke Find and Replace. It does, but the subject is
>grayed out. I need the find to be based on the control where the cursor was
>when the button was pressed. Any ideas? Access help in 2000 does not even
>mention this command neither does my Access book.


--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.

nguyenquang

2005-11-26, 3:23 am

I don't know


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com