Thanks, but they are referring to Access 2000, and there the form has a Recordset property. But in Access 97 the form does not have a recordset property:((
Hi.
Access 97 form has a recordsource property, which is basically a string, like "SELECT * FROM Hotels".
But I have a ADO recordset that I would like to bind to a form. How can I do that?
Thanks in advance.
Thanks ca8msm,
That last link has helped me.
I have added an ADODB library to Access 97 as a reference, so I could use ADO recordsets in addition to DAO.
So, I used that code to pass ADO recordsets across from .NET to Access 97.
Thanks for your reply, ca8msm.
But there's gotta be an easier way to do this.
I just need a simple function that takes a single table in the dataset and converts it into a recordset with the same column names.
i'm looking for something like this:
Public Function convertToRS(ByVal ds As...
Hi, here is the code:
Public Function convertToRS(ByVal ds As DataSet) As Recordset
Dim rs As DAO.Recordset
Dim i, j As Integer
Dim dt As New TableDef
For i = 0 To ds.Tables(0).Columns.Count - 1
dt.CreateField(ds.Tables(0).Columns(i).ColumnName)...
Hi,
We use Access 97. However, there are very useful modules written in VB.NET. So, my question is if it is possible to use VB.NET dll files in Access 97?
Otherwise, that functionality will have to be re-written in VBA.
Hi,
We use Access 97. However, there are very useful modules written in VB.NET. So, my question is if it is possible to use VB.NET dll files in Access 97?
Otherwise, that functionality will have to be re-written in VBA.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.