Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
nicka
Starting Member
28 Posts |
Posted - 2002-11-05 : 13:56:04
|
HiI have one table (tbl_Products) which is a list of products by ID as followsID ProductCode1 A01252 A02343 A0465In the second table (tbl_Map) I have the following fields:ID Map1 1,22 13 1,2,34 2,3Where the Map field is reading the ID records from the tbl_Products. The Map fields should display a dropdown of the appropriate "Productcode" records.I am looking for the query to read the info from the "Map" fields into a drop down (a new field)HelpID |
|
AndrewMurphy
Master Smack Fu Yak Hacker
2916 Posts |
Posted - 2002-11-06 : 06:42:36
|
I smell a poor design here....any chance that you can change the tbl_Map to be something like...Id, Sequence, FKproductID,(ID+Sequence make a priamry key)with data1,1,11,2,22,1,13,1,13,2,23,3,34,1,24,2,3this should allow you to establish a simple relationship between the productId and the FKProductID columns....Otherwise I think you are going to be up a creek without a (good) paddle.... |
 |
|
|
|
|
|
|