I have a form that when it opens, deletes all the records from a table, and then allows the user fills in data to a table. When the user enters all of the records, they click a command button which checks the information (potentially deleting "blank records") in the table and opens the report to print it with the table as the recordsource.
Unfortunately, every time I call the report from my visual basic code (when the user clicks a button in my form), the data does not get displayed -- the form is blank and other data based on lookups get #Error. If I then manually do a print preview of the report, all of the data shows up fine.
Any help/suggestions would be appreciated as I am going stir crazy with this one.
Unfortunately, every time I call the report from my visual basic code (when the user clicks a button in my form), the data does not get displayed -- the form is blank and other data based on lookups get #Error. If I then manually do a print preview of the report, all of the data shows up fine.
Any help/suggestions would be appreciated as I am going stir crazy with this one.