smilingkiss 发表于 2013-1-30 22:29
为了避免combo0为空导致出错,严谨一点,还要加上:If Nz(Combo0, 0) 0 Then,如下:
Private Sub Command2_ ...
olderdream2007@ 发表于 2013-1-31 18:59
CurrentDb.QueryDefs("Q1").SQL = "select * from " & Me.Combo0.Value
Me.SUBQ1.Form.RecordSource = "se ...
欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) | Powered by Discuz! X3.3 |