Hello,
I am using A2K and was wondering if there is a limit for the max number of characters for the RecordSource property if I want to set value for it in code?
I have an SQL statement which is over 600 characters long and I am having problems in getting the right set of records in my code. If I paste this SQL in a query design - it works fine. But if I put it in a variable in code and then assign that variable to RecordSource - only the first record is retrieved.
Any ideas?
Thanks
giedrius
I am using A2K and was wondering if there is a limit for the max number of characters for the RecordSource property if I want to set value for it in code?
I have an SQL statement which is over 600 characters long and I am having problems in getting the right set of records in my code. If I paste this SQL in a query design - it works fine. But if I put it in a variable in code and then assign that variable to RecordSource - only the first record is retrieved.
Any ideas?
Thanks
giedrius