I have a UsersTable with a UserID and a ReportsTable with a ReportID. I also have an AccessTable with UserID and ReportID for the reports each user has access to.
It's quite simple to get a list of reports users have access to, but how do I get a list of reports users don't have access to? I'm essentially looking for the inverse of the AccessTable, with UserID and ReportID populated. It's easy enough to query for one user, but can I get a result set for all users with one query? This feels like it should be simple, but I'm just not thinking on a Monday.
Thanks.
- Andrew
Text::Highlight - A language-neutral syntax highlighting module in Perl
also on SourceForge including demo
It's quite simple to get a list of reports users have access to, but how do I get a list of reports users don't have access to? I'm essentially looking for the inverse of the AccessTable, with UserID and ReportID populated. It's easy enough to query for one user, but can I get a result set for all users with one query? This feels like it should be simple, but I'm just not thinking on a Monday.
Thanks.
- Andrew
Text::Highlight - A language-neutral syntax highlighting module in Perl
also on SourceForge including demo