ERROR PROBLEM

What should i do when an error message says' Object required"
then if i press debug
Set rs.ActiveConnection = cn is being highlighted...  
Whing Dela CruzAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

 
Éric MoreauSenior .Net ConsultantCommented:
cn is probably nothing. are you sure that cn is properly initialized there?
0

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
 
Whing Dela CruzAuthor Commented:
Ah ok, it was not properly initialized... can i change this command to call directly to my server?

s.OPEN_CON "mydb", server_Name  
i tried to change it to  
Call OPEN_CON(cn, "mydb", "Mynotebook")  and
Call s.OPEN_CON(cn, "mydb", "Mynotebook")    but it doesnt work ..
Thanks...
0
 
Éric MoreauSenior .Net ConsultantCommented:
what is "s"?

where is "cn" declared?

I thought we had it working in another question?
0
 
Whing Dela CruzAuthor Commented:
Thanks! I will post another question regarding the last question.
Thanks! More Power to you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.