Hello all,
Table 1 and Table 2 are joined.
I have a loop for outputting reports of all the records in Table 1, showing their linked data in Table 2.
The problem was whenever there were no linked records in Table 2 I got a 2427 error.
So I decided to add a Dcount into the loop to check if there were any records in Table 2 before outputting the report.
This now introduces 3035 memory errors. The database is not that large yet, so I'm wondering why this is occurring. The recordset is cleared at the end of the code.
Is there a better way to deal with these problems?
Thanks in advance for any pointers
Table 1 and Table 2 are joined.
I have a loop for outputting reports of all the records in Table 1, showing their linked data in Table 2.
The problem was whenever there were no linked records in Table 2 I got a 2427 error.
So I decided to add a Dcount into the loop to check if there were any records in Table 2 before outputting the report.
This now introduces 3035 memory errors. The database is not that large yet, so I'm wondering why this is occurring. The recordset is cleared at the end of the code.
Is there a better way to deal with these problems?
Thanks in advance for any pointers