This ties in with my other problem. Here we go.
I'm generating code for a report and storing it in one long string, conatanating each line with the next. Most of it is just a SQL query taken straight from the qry editor, the other stuff is parsing data from passed information from another form. Here is a small snip from the huge query:
However, my qry has become so long it no longer wants to fit in the string. I can imagine there has to be a way to work this out, just beyond the scope of my access smarts!
Thanks in advance
I'm generating code for a report and storing it in one long string, conatanating each line with the next. Most of it is just a SQL query taken straight from the qry editor, the other stuff is parsing data from passed information from another form. Here is a small snip from the huge query:
Code:
qry = qry & "Issues.IssueNumber = TBL_ASU_FBM_FUNCTIONS.IssueNumber "
qry = qry & "WHERE (((Issues.[Status Code])<>""CL - Closed"")) "
qry = qry & "AND (((AutoCorrelation) = True)) "
' and then in the end using the following to execute it
Me.RecordSource = qry
However, my qry has become so long it no longer wants to fit in the string. I can imagine there has to be a way to work this out, just beyond the scope of my access smarts!
Thanks in advance