Link to home
Start Free TrialLog in
Avatar of tonydemarco
tonydemarcoFlag for United States of America

asked on

Combo Box Blank Value Choice

I would like a combo box which is based on a table with no blank values, to show a blank value as one of its choices.
Avatar of rockiroads
rockiroads
Flag of United States of America image

your sql that its based on, u create a row
e.g.

select top 1 '' as blankitem from sometable
union all
select field1 from sometable


for each field u select, ensure that many rows are in the other query
ASKER CERTIFIED SOLUTION
Avatar of Jim Horn
Jim Horn
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tonydemarco

ASKER

Jim,

SELECT "" AS servco_no
FROM dbo_service_company
UNION SELECT servco_no
FROM dbo_service_company

gives me all values in table plus a blank at the top.

Thanks!
Thanks for the grade.  Good luck with your project.  -Jim