Hello,
Can someone confirm the character limit of the wherecondition in the command:
DoCmd.OpenForm stDocName, , , stWhereclause ?
I have defined my variable stWhereclause as a string (also tried it defining it as a variant) and I run into a 3075 syntax error when my variable is greater than 255 characters!
The help file for the openform command tells me that the maximum length of the WhereCondition is 32,768. But clearly this is not true in my case!
Any input in this matter would be helpful as I will have a wherecondition that is greater than 255 characters.
Thank you,
Jay.
Can someone confirm the character limit of the wherecondition in the command:
DoCmd.OpenForm stDocName, , , stWhereclause ?
I have defined my variable stWhereclause as a string (also tried it defining it as a variant) and I run into a 3075 syntax error when my variable is greater than 255 characters!
The help file for the openform command tells me that the maximum length of the WhereCondition is 32,768. But clearly this is not true in my case!
Any input in this matter would be helpful as I will have a wherecondition that is greater than 255 characters.
Thank you,
Jay.