Hi guys,
I'm trying to set up a drop-down combo box which contains all the records from table 'Company' that have either no data for PostalCode or CompanyType.
Below is what I've tried to use, evidently it doesn't work; it displays nothing in the drop down, and only one row.
SELECT Company.CompanyID, Company.CompanyName FROM Company WHERE Company.PostalCode = " " OR Company.CompanyType = " " ORDER BY Company.CompanyName;
Thanks guys!
Antoni
I'm trying to set up a drop-down combo box which contains all the records from table 'Company' that have either no data for PostalCode or CompanyType.
Below is what I've tried to use, evidently it doesn't work; it displays nothing in the drop down, and only one row.
SELECT Company.CompanyID, Company.CompanyName FROM Company WHERE Company.PostalCode = " " OR Company.CompanyType = " " ORDER BY Company.CompanyName;
Thanks guys!
Antoni