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).