Hello all,
I've got a mental block on this one - and could use someone's help knocking it loose...
I have a rather unusual application - but to simplify it: the user of the DB needs to be able to generate a "troubleticket" on any ID number (autonumber), from any field, on any table. Every one of my tables has an autonumber ID. So those three pieces of information (table, field, ID#) - effectively point to any piece of data in the whole db.
My "troubleticket" is also a table - it includes information about the problem and screen grabs etc... and also the table name, field name, and ID number which generated the ticket.
The problem is in reviewing the troubletickets. I'd like it to have a relationship back to the underlying data... because I need to run queries on the troubletickets that use information from the source tables.
Thinking about coding this gave me a headache - and made me think I have some major design flaw and am going about this in the wrong way.
Also of note: multiple troubletickets could be generated for any table,field,ID combo.
Any ideas?
I've got a mental block on this one - and could use someone's help knocking it loose...
I have a rather unusual application - but to simplify it: the user of the DB needs to be able to generate a "troubleticket" on any ID number (autonumber), from any field, on any table. Every one of my tables has an autonumber ID. So those three pieces of information (table, field, ID#) - effectively point to any piece of data in the whole db.
My "troubleticket" is also a table - it includes information about the problem and screen grabs etc... and also the table name, field name, and ID number which generated the ticket.
The problem is in reviewing the troubletickets. I'd like it to have a relationship back to the underlying data... because I need to run queries on the troubletickets that use information from the source tables.
Thinking about coding this gave me a headache - and made me think I have some major design flaw and am going about this in the wrong way.
Also of note: multiple troubletickets could be generated for any table,field,ID combo.
Any ideas?