This issue is sort of similar to some other "works on one machine but not the another", but is not quite the same; Here's the problem:
I've got an Access 2003 database on two machines, same version of Access 2003. The database/report, which was designed on one machine, works perfectly. When copying the MDB file to the other machine, the database works, but the report fails to show any data when previewed.
The purpose of the report is to print (or preview) the current data of the current record displayed within a form - pretty straightforward - with no complex calculations or sums, etc.
The data in the report is based on a query. The query's data is, in turn, keyed to a particular field on a form to display the same data on the form. The report is called by clicking a button on the form that opens the report in preview mode (printing is then also possible).
The form "frm_ERAS_LETTER Subform2" is the form that displays data and has the Print Preview button to display the report. The form is actually a subform of "frm_CANDIDATES2"
The query's results, hence the report's data, uses the Criteria field of the query to filter a table's data (table holds the data for form frm_ERAS_LETTER Subform2) with the following code:
(1) [Forms] ! [frm_CANDIDATES2] ! [frm_ERAS_LETTER Subform2] ! [erasID]
The query, by way of the above expression (1), uses the current value of the erasID field value on the form [frm_ERAS_LETTER Subform2].
On either the machine where the database was built or on the other machine that does not show the report when clicking the report preview button, the following occurs;
If I double-click the query itself it displays a criteria box for the erasID data and when I enter it a click OK if displays the proper data.
Similarly, if I double-click the report itself (which is based on the working query) it too, displays a criteria box and when I enter the erasID data the report displays correctly along with the data the should be in the report.
It is only on the machine that I copied the MDB file to that when the report is brought up through the report button on the form that the report comes up blank with no data from the form.
This has me totally puzzled at this point. Any clues would be really appreciated.
Thanks!
p.s. I know it's probably going to be something really dumb that I missed.
I've got an Access 2003 database on two machines, same version of Access 2003. The database/report, which was designed on one machine, works perfectly. When copying the MDB file to the other machine, the database works, but the report fails to show any data when previewed.
The purpose of the report is to print (or preview) the current data of the current record displayed within a form - pretty straightforward - with no complex calculations or sums, etc.
The data in the report is based on a query. The query's data is, in turn, keyed to a particular field on a form to display the same data on the form. The report is called by clicking a button on the form that opens the report in preview mode (printing is then also possible).
The form "frm_ERAS_LETTER Subform2" is the form that displays data and has the Print Preview button to display the report. The form is actually a subform of "frm_CANDIDATES2"
The query's results, hence the report's data, uses the Criteria field of the query to filter a table's data (table holds the data for form frm_ERAS_LETTER Subform2) with the following code:
(1) [Forms] ! [frm_CANDIDATES2] ! [frm_ERAS_LETTER Subform2] ! [erasID]
The query, by way of the above expression (1), uses the current value of the erasID field value on the form [frm_ERAS_LETTER Subform2].
On either the machine where the database was built or on the other machine that does not show the report when clicking the report preview button, the following occurs;
If I double-click the query itself it displays a criteria box for the erasID data and when I enter it a click OK if displays the proper data.
Similarly, if I double-click the report itself (which is based on the working query) it too, displays a criteria box and when I enter the erasID data the report displays correctly along with the data the should be in the report.
It is only on the machine that I copied the MDB file to that when the report is brought up through the report button on the form that the report comes up blank with no data from the form.
This has me totally puzzled at this point. Any clues would be really appreciated.
Thanks!
p.s. I know it's probably going to be something really dumb that I missed.