I am using VB 6 with patch 5 and Access 2000.
I have one table that is populated with data depending on
the report. With I first run the program and generated the
report all is fine. If I try and generate another report
I get a blank report.
This is what I have tried:
1. Applied workaround from Microsoft adding a timer
Timer1.Interval = 1
DataReport.Show
In timer routine: rsDataReport.MoveFirst
This gives an error about BOF or EOF being set to true
2. Unloading and loading the Dataenvironment
3. DataReport1.Refresh
DataReport1.Show
4. Creating a SQL statement
DataReport1.DataSource = sql statement
All of the above fails to show data or gives errors. I can't
use Crystal Reports as the version that comes with VB 6
does not work with Access 2000.
I am at a loss of what to do next.
I have one table that is populated with data depending on
the report. With I first run the program and generated the
report all is fine. If I try and generate another report
I get a blank report.
This is what I have tried:
1. Applied workaround from Microsoft adding a timer
Timer1.Interval = 1
DataReport.Show
In timer routine: rsDataReport.MoveFirst
This gives an error about BOF or EOF being set to true
2. Unloading and loading the Dataenvironment
3. DataReport1.Refresh
DataReport1.Show
4. Creating a SQL statement
DataReport1.DataSource = sql statement
All of the above fails to show data or gives errors. I can't
use Crystal Reports as the version that comes with VB 6
does not work with Access 2000.
I am at a loss of what to do next.