the object doesn't contain the automatio object (1 Viewer)

mana

Registered User.
Local time
Today, 12:17
Joined
Nov 4, 2014
Messages
265
Hello

i have the following code in ms access
i want to run a data macro
but i have the below message for it
do you know how i can resolve it?
thank you


object doesn't contain the automatio object "the value of text0 is here"


DoCmd.SetParameter "prmproject", Me.Text0
DoCmd.RunDataMacro "checks_projects.checksprojects_projectname"
 

Cronk

Registered User.
Local time
Tomorrow, 05:17
Joined
Jul 4, 2013
Messages
2,774
I have this subroutine Sub MySub and it does not work. Can you tell me how to fix it?

That is to say, you have not given any information to assist anyone to help you.

What are the commands in your macro? What is the parameter value? Or are you chucking random things into VBA expecting it will work?
 

mana

Registered User.
Local time
Today, 12:17
Joined
Nov 4, 2014
Messages
265
this data macro adds the project name to projects table and it has a parameter as prmproject and i use here text0 as project name.
i hope i declared it clear now
 

Users who are viewing this thread

Top Bottom