Command object problem ??

L

luanhoxung

Hi,
Please show me what happen ?
In my Code, I declare: cm as command
the word "command" doesnot capital the first letter like : Command.
And i think VBA doesnot know what is cm ??
But in my office, i can see: cm as Command, and everything do as
my intent (cm is a Command)--->Why ?
Please give me a hand.
thanks in advance.
Luan from VietNam
 
P

Perry

It's an ADODB property.

Look in VBE menu
Tool | References

Look for: Microsoft ActiveX Data Objects Library
Choose the applicable to yr Office version
(or pick version 2.1 of yr not doing anything out of the ordinary with ADO)

Krgrds,
Perry
 
Top