I have been using crystal reports and and access database for a while and have recently rewritten my
software to use ODBCDirect. I have tried creating a report in crystal reports. I take data from two
tables in this database. I have logged onto the server correctly and add the first table when I create
the report. I then add the second table. I can browse the fields in both tables but when I preview
the report only data from the first table is visible. If I try to look at the SQL query being used
by crystal reports then details of the second table are missing from the query. If I try to manually
amend the query when I close and reopen the query my changes have gone again!!
I have resorted to creating a stored query in my database and basing the report on this query rather
than tables (this seems to work) but I'm sure I'm doing some thing wrong - any ideas?
I'm using VB5 and the version of crystal reports that came with VB5 (4.6).
Amjid Riaz
software to use ODBCDirect. I have tried creating a report in crystal reports. I take data from two
tables in this database. I have logged onto the server correctly and add the first table when I create
the report. I then add the second table. I can browse the fields in both tables but when I preview
the report only data from the first table is visible. If I try to look at the SQL query being used
by crystal reports then details of the second table are missing from the query. If I try to manually
amend the query when I close and reopen the query my changes have gone again!!
I have resorted to creating a stored query in my database and basing the report on this query rather
than tables (this seems to work) but I'm sure I'm doing some thing wrong - any ideas?
I'm using VB5 and the version of crystal reports that came with VB5 (4.6).
Amjid Riaz