Cbo1的RowSource属性修改为:
SELECT IIf([type]=1,"表." & [Name],"查询." & [Name]) AS 表达式1, MSysObjects.Type FROM MSysObjects WHERE (((MSysObjects.Type)=1 Or (MSysObjects.Type)=5));
SELECT IIf([type]=1,"表." & [Name],"查询." & [Name]) AS 表达式1, Left([MSysObjects].[Name],4) AS 表达式2 FROM MSysObjects WHERE (((MSysObjects.Type)=1 Or (MSysObjects.Type)=5) AND ((Left([MSysObjects].[Name],4))<>"MSys"));
呵呵,谢谢了,我又加了个条件