# 急!!! datamember 和 datasource 有何分别

Posted by Altman on October 16, 1999 at 00:05:33:

请问datamember 和 datasource 有甚么分别?
如果是用ADO动态连线的,如下:Dim sqlstring As String
Dim a As New ADODB.Recordset
sqlstring = "select * from datafile"
a.Open sqlstring, "Provider=Microsoft.Jet.OLEDB.3.51;" & _
"Persist Security Info=False;" & _
"Data Source=db.mdb", adOpenDynamic, adLockOptimistic
那么datasource应是a吧, 但不知datamember是甚么了.
所以也不知在datareport里如何用这个方法去分组了? 请指教,
很急......

谢......

Follow Ups:

- Re: 急!!! datamember 和 datasource 有何分别 styler 08:57:48 10/16/99 (0)