Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: DoMenuItem missing???


Message #1 by "Dick Roose" <sacapts@d...> on Sat, 30 Mar 2002 04:47:22
I use the following command in Access 97 to pull up the find dialog box to 
search for a particular name in my data base.
"
    Screen.PreviousControl.SetFocus
    DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
"
I have converted the database to Access 2000 where it seems the DoMenuItem 
does not exist.  (I cannot believe intelligent beings would remove this 
capability from Access 2000.) Is the DoMenuItem really missing from Access 
2000???  Did the idiots rename it??? Is there some replacement command???

I have tried to substitute the DoCmd.FindRecord "criteria" without 
success.  It runs but the error message says it cannot find the data in 
the data base.  

Is there some trick to using the "Find Record" command??

Would appreciate any help.
Thanks,
Dick
Message #2 by "John Ruff" <papparuff@c...> on Fri, 29 Mar 2002 21:30:06 -0800
This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C1D768.E602D340
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

The command  docmd.RunCommand has replaced the DoMenuItem, though it can
still be used.  Go to Help and search RunCommand.



John Ruff - The Eternal Optimist :-) 
Always looking for Contract Opportunities 
  
9306 Farwest Dr SW 
Lakewood, WA 98498 
papparuff@c... 



-----Original Message-----
From: Dick Roose [mailto:sacapts@d...]
Sent: Saturday, March 30, 2002 4:47 AM
To: Access
Subject: [access] DoMenuItem missing???


I use the following command in Access 97 to pull up the find dialog box
to
search for a particular name in my data base.
"
    Screen.PreviousControl.SetFocus
    DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
"
I have converted the database to Access 2000 where it seems the
DoMenuItem
does not exist.  (I cannot believe intelligent beings would remove this
capability from Access 2000.) Is the DoMenuItem really missing from
Access
2000???  Did the idiots rename it??? Is there some replacement
command???

I have tried to substitute the DoCmd.FindRecord "criteria" without
success.  It runs but the error message says it cannot find the data in
the data base. 

Is there some trick to using the "Find Record" command??

Would appreciate any help.
Thanks,
Dick





  Return to Index