Skip Bisconer
Who Me?
- Local time
- Today, 14:24
- Joined
- Jan 22, 2008
- Messages
- 285
I want to be able to open a query or table ( I haven't decided which yet) from a multiselect listbox list using part number vendor three letter codes. As many of our items are purchased through a wholesaler the buyer must analyse several vendors products to generate a purchase order.
Unfortunately there are many part numbers with the same vendor code and I need the listbox to only display one selection per vendor and have the table or query open with only those items selected otherwise I get 10 K items to wade through and my attempts at this have only produced a single line item from my selection. I don't know if this can be.
I would appreciate some ideas and possible code to make this or something similar to happen. i have only delt with a Multiselect list box one and my memory is fuzzy on the code. Below is a representation of my table
tblPurchaseAnalysisLoc1
Part Description VCode
ALR70141850 ELECTRODE,7014 1/8 50# ALR
ALRALR70181850 ELECTRODE 1/8 7018 ALR
ALRALR701833250 ELECTRODE 7018 3/32 ALR
ALRAMESC2FNNP SAFETY CAP ACETYLENE FINE ALR
AMEANCFL5 SOAPSTONE,FLAT 3/16X1/2X5(1GR) AME
ANCANT6114 CART, SGL CYL 4 WHEEL SLD WH ANC
ANTBDMMHSS MED MARKING SOAPSTONE HOLDER ANT
BDMBDMTLSS THIN LINE SOAPSTONE BDM
BDMBER0745 PENCIL,RED BEROL VERITHIN BDM
Unfortunately there are many part numbers with the same vendor code and I need the listbox to only display one selection per vendor and have the table or query open with only those items selected otherwise I get 10 K items to wade through and my attempts at this have only produced a single line item from my selection. I don't know if this can be.
I would appreciate some ideas and possible code to make this or something similar to happen. i have only delt with a Multiselect list box one and my memory is fuzzy on the code. Below is a representation of my table
tblPurchaseAnalysisLoc1
Part Description VCode
ALR70141850 ELECTRODE,7014 1/8 50# ALR
ALRALR70181850 ELECTRODE 1/8 7018 ALR
ALRALR701833250 ELECTRODE 7018 3/32 ALR
ALRAMESC2FNNP SAFETY CAP ACETYLENE FINE ALR
AMEANCFL5 SOAPSTONE,FLAT 3/16X1/2X5(1GR) AME
ANCANT6114 CART, SGL CYL 4 WHEEL SLD WH ANC
ANTBDMMHSS MED MARKING SOAPSTONE HOLDER ANT
BDMBDMTLSS THIN LINE SOAPSTONE BDM
BDMBER0745 PENCIL,RED BEROL VERITHIN BDM