|
bernieboy31 -> Linking databases - basic design problem (3/24/2008 4:29:04)
|
Gurus, Let's say I have two .db tables 'Category' and 'Items'. 'Category' is just a text field with a primary key - no limit on number of records. As well as the data fields 'Items' contains a category field that links to the 'Category' table via the 'Category' primary key ID. As a result, it's easy to run a DRW to lookup all 'Items' under a single category e.g. "SELECT * FROM links WHERE Category = " & cat_ID Problem is that I now need some 'Items' records to be applicable to more than one category and need to modify the DRW accordingly. I have been playing around with some test data, getting nowhere and tearing my hair out. Using some form of filtering using 'MOD = 0 ' seems to me the likely way but, for the life of me, I cannot find an easy/straightforward way of doing it. I accept that I will probably need to redesign a bunch of stuff but that's not an issue. Can you kind people give me some ideas on how I can acheive this as the need must have occurred before. TIA Cheers Bernie
|
|
|
|