June7
AWF VIP
- Local time
- Yesterday, 23:42
- Joined
- Mar 9, 2014
- Messages
- 5,636
Fine, save SupplierID but probably not all details about product (colour, etc) as you were trying before. You still have code to save ProductName and SKU and not just ProductID (or ProductDetailsID), again, there are no fields in either Batch table for this info so you are just saving into lookup table ProductDetailsT. And, if combobox were bound, would not need code to save selected ID.
My advice about RecordSources still applies.
I also suggest not using exact same field name in multiple tables. Instead of BatchNumberID in both tables, consider BatchNumberID and BatchNumberID_FK.
My advice about RecordSources still applies.
I also suggest not using exact same field name in multiple tables. Instead of BatchNumberID in both tables, consider BatchNumberID and BatchNumberID_FK.
Last edited: