I'm using Crystal Reports 8.0 and MS Sql Server 7.0. I want to add a table to an existing report so that I can include the ledger account in the report. I want to link bank_register.document_number (datatype is int) with gl_cost_transactions.document_id1(datatype is char(25).
I was able to run it in query analyzer by converting bank_register.document_number to char(25) like this:
convert(char(25),bank_register.document_number) = gl_cost_transactions.document_id1)
But when I try it in Crystal, I get an odbc error:
Count field incorrect or syntax error
Is there any way to link these two fields in Crystal?
I was able to run it in query analyzer by converting bank_register.document_number to char(25) like this:
convert(char(25),bank_register.document_number) = gl_cost_transactions.document_id1)
But when I try it in Crystal, I get an odbc error:
Count field incorrect or syntax error
Is there any way to link these two fields in Crystal?