Joined
·
528 Posts
What has become of the part numbers board idea? was hyped on that one. ......... just curious.
Just so that I understand your approach correct:RCC_SaMiaM said:I know what I can do, if the years are 84-89, I can write up a for loop that will take the variable = 84, loop it and add 1 to it, till it become 89. Then, under the years field, with it being a text field in the database, would be listeds as 84 85 86 87 88 89 and if we did querry where year like 84 it will find it.
year | item | partnumber |
84 | water pump | mopar 123 |
85 | water pump | mopar 123 |
86 | water pump | mopar 123 |
87 | water pump | mopar 123 |
not necessarily, it depends if this is supposed to be an all Dodge or only Dodge Trucks 73-93 Database:RCC_SaMiaM said:Ok, I understand.
We will also have to do the same for engine sizes, and models. So one part could essentially have over 100 entries.
year | item | partnumber | 318 | 360 | 440 | D150 | W150 | RC4 |
84 | water pump | mopar 123 | 1 | 1 | 0 | 1 | 1 | 1 |
85 | water pump | mopar 123 | 1 | 1 | 0 | 1 | 1 | 1 |