P
PJFry
Is there a way to populate a combo box with the tables names in the database?
Is there a way to populate a combo box with the tables names in the database?
John W. Vinson said:Is there a way to populate a combo box with the tables names in the database?
Clunky and undocumented: set its Rowsource to
SELECT MSysObjects.Name
FROM MSysObjects
WHERE ((([Flags] And 2)=0) AND ((MSysObjects.Type)=1))
ORDER BY MSysObjects.Name;
This works in 2003, no guarantees for other versions and I'm not altogether
comforatable with the Flags criterion either.
John W. Vinson [MVP]
Worked well. Thanks.
I tend to be on the clunk side of coding these days, so it is a good match!
What do the Flags mean?