I have a listbox on a popup form. The listbox has 10 columns. The rowsource is assigned when the popup form opens using an openarg parameter. After it opens, I need to change that SQL rowsource into a value list. Is there an easy way to do this? I'm not sure if this helps or not but here is the current rowsource:
SELECT tblBIDS.ProductID, tblVendor.VendorName, tblBIDS.CategoryID, tblBIDS.Item_No, tblBIDS.Description, tblBIDS.UnitType AS [Unit Type], tblBIDS.UnitCost AS [Price], tblBIDS.SoleSource,tblBIDS.ColorOrSize AS [COLOR=Or Size], tblBIDS.PageNo AS [Page No]
FROM tblVendor
INNER JOIN tblBIDS
ON tblVendor.VendorID = tblBIDS.VendorID
SELECT tblBIDS.ProductID, tblVendor.VendorName, tblBIDS.CategoryID, tblBIDS.Item_No, tblBIDS.Description, tblBIDS.UnitType AS [Unit Type], tblBIDS.UnitCost AS [Price], tblBIDS.SoleSource,tblBIDS.ColorOrSize AS [COLOR=Or Size], tblBIDS.PageNo AS [Page No]
FROM tblVendor
INNER JOIN tblBIDS
ON tblVendor.VendorID = tblBIDS.VendorID