DevSupLady
Programmer
(For the record I did go through at least the first 80 solutions before posting this here. If there is a duplicate then please point me to it. I'm desperate!!!)
Ok Layout of Report is...
Report Header - Suppressed, no fields within content area
Page Header A - Subreport that displays county name and report title
Page Header B - Subreport that displays criteria that was selected before report was executed
Page Header C - Column Headers (text fields only, no db fields)
Group Header #1 - Election description db fields (grouped by election date) Keep Together option set
Details A - Voters name, precinct, approval date, ballot return date etc. Keep Together, New Page Before option set
Details B - Total for precinct Keep Together option set
Group Footer #1 - no data Keep Together option set
Report Footer - Total voters for entire report
Page Footer - Subreport for report date and time from db, page numbers and report file name
Database: SQL Server 2000
IDE: Visual Basic 5.0 [cheap employer thing, don't ask]
Crystal Version: 8.5
Data is created through a dynamic creation of a t-sql procedure for a report when executed. Cannot post t-sql statement here. Employer thing, don't ask. Data is pushed into a client sided Access database via RDO and a SQLPassThru query on the Access database. A table is created within the Access database to store the report data, the report metadata and the report's order by clause if any. (The order by clause gets processed in one of the formulas of the report.)
Problem: When there is more than one voter in the Access database the report displays the data just fine. When there is only one voter the report shows a Grand Total in the Report Footer as 1 but the voter information and the election information does not display at all. I can browse the field data for both Details and Group sections and there is indeed one row of data in each field.
There is a formula on the "New Page Before" option of the Details and Details A section. (Details shows up as a parent section to both Details A and B of course.)
Formula:
(
Not onFirstRecord
and Previous({AccessTable.PRECINCT})<>{AccessTable.PRECINCT}
and previous({AccessTable.LELEC_election_dt}) = {AccessTable.LELEC_election_dt}
and ({AccessOrderByClauseTable.order_by_clause}) = ''
)
Question: This was happening back when the report was on SQL Server 6.5 and in Crystal Reports 7.0 up to now, yet end-user did not detect this. Internal regression tester did. Why won't this report show the data for one voter?
Ok Layout of Report is...
Report Header - Suppressed, no fields within content area
Page Header A - Subreport that displays county name and report title
Page Header B - Subreport that displays criteria that was selected before report was executed
Page Header C - Column Headers (text fields only, no db fields)
Group Header #1 - Election description db fields (grouped by election date) Keep Together option set
Details A - Voters name, precinct, approval date, ballot return date etc. Keep Together, New Page Before option set
Details B - Total for precinct Keep Together option set
Group Footer #1 - no data Keep Together option set
Report Footer - Total voters for entire report
Page Footer - Subreport for report date and time from db, page numbers and report file name
Database: SQL Server 2000
IDE: Visual Basic 5.0 [cheap employer thing, don't ask]
Crystal Version: 8.5
Data is created through a dynamic creation of a t-sql procedure for a report when executed. Cannot post t-sql statement here. Employer thing, don't ask. Data is pushed into a client sided Access database via RDO and a SQLPassThru query on the Access database. A table is created within the Access database to store the report data, the report metadata and the report's order by clause if any. (The order by clause gets processed in one of the formulas of the report.)
Problem: When there is more than one voter in the Access database the report displays the data just fine. When there is only one voter the report shows a Grand Total in the Report Footer as 1 but the voter information and the election information does not display at all. I can browse the field data for both Details and Group sections and there is indeed one row of data in each field.
There is a formula on the "New Page Before" option of the Details and Details A section. (Details shows up as a parent section to both Details A and B of course.)
Formula:
(
Not onFirstRecord
and Previous({AccessTable.PRECINCT})<>{AccessTable.PRECINCT}
and previous({AccessTable.LELEC_election_dt}) = {AccessTable.LELEC_election_dt}
and ({AccessOrderByClauseTable.order_by_clause}) = ''
)
Question: This was happening back when the report was on SQL Server 6.5 and in Crystal Reports 7.0 up to now, yet end-user did not detect this. Internal regression tester did. Why won't this report show the data for one voter?