标题: 请教子窗切换数据源问题 [打印本页] 作者: accesscx 时间: 2010-8-5 10:59 标题: 请教子窗切换数据源问题 If Me.Check78 = "-1" Then
x(12) = "select * from 排期表 where 预计加工日期 is null"
rs(12).Open x(12), tcnndb, 1, 3, 512
Set Me.子窗体_排期表.Form.Recordset = rs(12)
ElseIf Me.Check78 = "0" Then
Me.子窗体_排期表.Form.RecordSource = "select * from 排期表查询"
End If
当 Me.Check78 = "0" 时,提示Me.子窗体_排期表.Form.RecordSource = "select * from 排期表查询"