Hey guys,
I have a report that displays data from three different tables, and I would like to avoid having it ever show up blank (due to no data in one table or another). The best way that I was able to come up with solving that problem is to have some logic that:
1) checks to see if there is a record in the second and third tables with the current FK in it (PK on table 1 is a foreign key in tables 2 and 3). The FK is unique in the other tables
2) If there is no record with the current FK then add a record with the FK in it.
3) If there is a record with this FK then do nothing.
Is there a different way to go about this? The big thing is I don't ever want to have this report show up completely blank! Let me know if you have any questions about any of this.
Thanks for your time!
Nick