Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error on Do.Cmd of chosing reports from list box 1

Status
Not open for further replies.

MICKI0220

IS-IT--Management
Jul 20, 2004
337
US
thread702-1013991

referencing the above thread, I was trying to accomplish this by doing it the way FancyPrairie said.....I come up with an error on the Do.Cmd of the after update statement, can you clarify?
 

You don't say what error you are getting, but...
Try changing Do.Cmd to DoCmd.


Randy
 
oops...I changed it to the right syntax and now I get the error message that.....

"The expression After Update you entered as the event property setting produced the following error: Invalid outside procedure."
*The expression may not result in the name of a macro, the name of a user defined function, or [Event Procedure].
*There may have been an error evaluating the function, event, or macro.
 
I figured it out.....under the Option Explicit there was an "end sub"

Thanks for the help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top