Private Sub Form_Load()
Dim ssql As String
ssql = "SELECT Name FROM MSysObjects WHERE (Type=-32768) and (not Name='" & Me.Name & "')"
Me.窗体.RowSource = ssql '列表框控件列示出除本窗体以外的所有窗体
End Sub
Private Sub 窗体_AfterUpdate()
If IsNull(Me.窗体.Value) = False Then
Me.子窗体.SourceObject = Me.窗体.Value '加载子窗体控件的数据源
Else
Me.子窗体.SourceObject = ""
End If
End Sub
例子已学习了,可是,有些不明,特向todaynew版主请教:
Private Sub Form_Load()
Dim ssql As String
ssql = "SELECT Name FROM MSysObjects WHERE (Type=-32768) and (not Name='" & Me.Name & "')"
Me.窗体.RowSource = ssql
End Sub
在上述代码中,我用F1查看帮助,为何MSysObjects及Type=-32768看不到帮助文档的?MSysObjects及Type=-32768各代表什么意思的?