RESOLVED!
Hello guys! I have an interesting problem.
Previously we would generate reports for clients by pulling queries from a table and using them as the report's source and life was good.
I received a special request from a particular client and had to automate creating the source table at run time.
I populate the table fine and the reports are created with the correct field being used as the source, except there is one problem: They don't all work.
Some of the reports work fine, they open up and I see the data that needs to be there. Yet other reports I will get 'no records found' or similar errors; here's the catch, if I go into the record's source for a client that doesn't work and do anything (press the spacebar then delete, move the cursor around with the arrow keys) and try to open the report again - it works. So apparently everything is coded properly.
I've reviewed the code and the report source queries in the table and they look fine...and work fine if I manually press the spacebar when I go into the report's source field in the design view of the report. These actions can be performed anywhere on the line, so it's not like the SQL is yelling at me.
Any ideas guys? This one is puzzling me.
Hello guys! I have an interesting problem.
Previously we would generate reports for clients by pulling queries from a table and using them as the report's source and life was good.
I received a special request from a particular client and had to automate creating the source table at run time.
I populate the table fine and the reports are created with the correct field being used as the source, except there is one problem: They don't all work.
Some of the reports work fine, they open up and I see the data that needs to be there. Yet other reports I will get 'no records found' or similar errors; here's the catch, if I go into the record's source for a client that doesn't work and do anything (press the spacebar then delete, move the cursor around with the arrow keys) and try to open the report again - it works. So apparently everything is coded properly.
I've reviewed the code and the report source queries in the table and they look fine...and work fine if I manually press the spacebar when I go into the report's source field in the design view of the report. These actions can be performed anywhere on the line, so it's not like the SQL is yelling at me.
Any ideas guys? This one is puzzling me.
Last edited: