Running SQL in VB

TKnight

Registered User.
Local time
Today, 19:38
Joined
Jan 28, 2003
Messages
181
Hi, is there any way that you can run more than 256 characters of SQL in VB? I read that using the DoCmd.RunSQL method this is the maximum number of characters you can use and it doesn't get you very far... Thanks, Tom
 
The maximum length of the sqlstatement argument is 32,768 characters (unlike the SQL Statement action argument in the Macro window, whose maximum length is 256 characters).
 
Thanks mate, a small oversight on my part! I reckon 32,000 odd characters should do me.... :o)
Tom.
 

Users who are viewing this thread

Back
Top Bottom