M
Mike
I have a LineItem table that needs to pull data from one of 3 tables;
sinventory, nsinventory, serviceitem - depending on the state of an ItemCode
field within the LineItem table. The structure required for each item code
type varies for any given option. nsinventory has a product field and a qty
field, sinventory has a product field and a serailnum field, serviceitem has
a servicetype field and a memo field. I'm stuggling with what is the best
approach to handling this. Currently my 'best' idea is to create a table
that contains all 6 fields of which only 2 will be of significance for each
record. This seems a bit cheesy and creates an issue when displaying data
that will need to be resolved programmatically.... I'm wondering if there is
a better way.
Any suggestings would be appreciated.
Thanks,
mike
sinventory, nsinventory, serviceitem - depending on the state of an ItemCode
field within the LineItem table. The structure required for each item code
type varies for any given option. nsinventory has a product field and a qty
field, sinventory has a product field and a serailnum field, serviceitem has
a servicetype field and a memo field. I'm stuggling with what is the best
approach to handling this. Currently my 'best' idea is to create a table
that contains all 6 fields of which only 2 will be of significance for each
record. This seems a bit cheesy and creates an issue when displaying data
that will need to be resolved programmatically.... I'm wondering if there is
a better way.
Any suggestings would be appreciated.
Thanks,
mike