P
(PeteCresswell)
Until now, I have been heavily biased towards lookup tables where
every row has an "ID" and a "Name".
e.g. For tlkpDealer:
DealerID DealerName
-------------------
1 Goldman Sachs
2 Lehman
-------------------
Then in, for instance, tblSecurity I would store DealerID and
look up the name as needed. Just seemed cleaner: storing a
number of determinate length, indexing on same instead of text
fields, and so-forth.
But now I've begun doing a quick-and-dirty conversion for a user
from a rat's nest of spreadsheets to an MS Access back end.
The path of least resistance seems tb to dispense with ID numbers
and just link to lookup tables directly on name and let cascading
updates take care of any changes.
We're talking sorts of things like Dealers, Brokers, Investment
Types, Coupon Types, and so-forth.
Is there a "Gotcha" lurking here? Apostrophes/Quotes in names?
Other illegal characters?
IOW: In the end might I wish I'd stuck with the ID/Name scheme?
every row has an "ID" and a "Name".
e.g. For tlkpDealer:
DealerID DealerName
-------------------
1 Goldman Sachs
2 Lehman
-------------------
Then in, for instance, tblSecurity I would store DealerID and
look up the name as needed. Just seemed cleaner: storing a
number of determinate length, indexing on same instead of text
fields, and so-forth.
But now I've begun doing a quick-and-dirty conversion for a user
from a rat's nest of spreadsheets to an MS Access back end.
The path of least resistance seems tb to dispense with ID numbers
and just link to lookup tables directly on name and let cascading
updates take care of any changes.
We're talking sorts of things like Dealers, Brokers, Investment
Types, Coupon Types, and so-forth.
Is there a "Gotcha" lurking here? Apostrophes/Quotes in names?
Other illegal characters?
IOW: In the end might I wish I'd stuck with the ID/Name scheme?