I'm trying to work with the sql property in a querydef but it seems like the sql keeps on getting truncated at around 250 characters- I know that the sql is somewhat lengthy, but I wanted to know if there was a way for the sql property to hold more than 250 characters? I am using the sql from the querydef in a variable in my code and then, if necessary (depending on other variables), adding some more criteria to the sql statement and then putting that back into the querydef before executing it. Any help in this matter is appreciated.
Thanks
Thanks