How to use ADO to issue query that more than 250 characters?

A

Ai_Jun_Zhang

Hi!

I am using ADO to retrieve data from ACCESS DB. However, my sql is mor
than 250 characters long but the .commandText field in ADODB.Command ca
only take 250 characters. My question is: with use of ADO, how can
issue query that is longer than 250 characters long?

Please help me with this.

Thanks,

Aijun
 
D

Dick Kusleika

Aijun

I just executed a Command with a CommandText that was 412 characters long.
 
A

Ai_Jun_Zhang

Dick and Patrick,

Thank you very much for let me know that the limitation for .Commantext
is not 250 characters. It works now.

Regards,

Aijun.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top