I am using Crystal Reports and VS 2010. The Crystal Report is displaying data from 2 tables in a DataSet.
Table 1 (GetReceptionInfo
) contains some info in the report header: name, Id, date, time.
Table 2 (SelectReceptionWork
) contains records in the details part of the report.
When I am trying to view the CR when there are returned records in Table 2 the CR works fine, but when I try to view it when no records are returned (only in Table 2 but Table 1 HAS records) the Crystal Report is all empty.
I previewed Table 1 from the DataSet and it works fine, but not on the report.
I tried the following steps but the result is still the same (also verified the database after every single change):
- Removed all links from Database Expert.
- Set DataSet property of
EnforceConstraints
toFalse
. - Deleted all primary keys on the DataSet.
- Removed Table 1 from Database Expert and added it again.
Database Expert no links or indexes:
DataSet with no keys, tables are not related:
If the issue is not clear I can post a screenshot of the report, but I'm afraid it might not be clear because it is written in Arabic.