try:
rsa.Open ("SELECT * FROM [numbers] " & _
"WHERE Date= " & "#" & Format(Datechoose, "mm,dd,yy") & "#")
For me it worked with similar problem
Shlomo
you have to open a recordset and to asign the data control to that recordset. Try this:
sPath = "C:\Program Files\DevStudio\VB\dbsName.mdb"
Set daoDB36 = DBEngine(0).OpenDatabase(sPath)
Set rs = daoDB36.OpenRecordset("SELECT * FROM tblTable")
Set Data1.Recordset = rs
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.