Hello,
I'm working on a application in VB6.0 & trying to use CR8 for the report. I have the following SQL statement that produces a recordset that I wish to pass to the report.
"SELECT CombinedName, Extension, DeptName, Location, ID, Desg FROM tblEmployeeInfo "
"UNION ALL "
"SELECT CombinedName, Extension, DeptName, Location, ID, Desg FROM tblChase "
"UNION ALL "
"SELECT CombinedName, Extension, DeptName, Location, ID, Desg FROM tblFacilities "
"ORDER BY CombinedName"
This statement works just fine in VB. How do I pass it to Crystal - I had seen on another thread that you can not use union statements in Cyrstal so that why I'm looking to pass the recordset. I was researching this and "SetPrivateData" comand was mentioned but I'm not sure how to use it. Any help someone can give me would be great. Thanks in advance.
Corinne
I'm working on a application in VB6.0 & trying to use CR8 for the report. I have the following SQL statement that produces a recordset that I wish to pass to the report.
"SELECT CombinedName, Extension, DeptName, Location, ID, Desg FROM tblEmployeeInfo "
"UNION ALL "
"SELECT CombinedName, Extension, DeptName, Location, ID, Desg FROM tblChase "
"UNION ALL "
"SELECT CombinedName, Extension, DeptName, Location, ID, Desg FROM tblFacilities "
"ORDER BY CombinedName"
This statement works just fine in VB. How do I pass it to Crystal - I had seen on another thread that you can not use union statements in Cyrstal so that why I'm looking to pass the recordset. I was researching this and "SetPrivateData" comand was mentioned but I'm not sure how to use it. Any help someone can give me would be great. Thanks in advance.
Corinne