Hi all ..I have a question ...How can I see the result from datasheet view from the code below ...In the query we can see the datasheet view result but for the VBA code ..I have no idea how to sort the result as datasheet view ..
Dim db As Database
Dim rs As Recordset
Dim empnum As Long
Dim strsql As String
Set db = CurrentDb()
empnum = 10248
strsql = "select * from Orders where [OrderID]= " & empnum & ";"
Set rs = db.OpenRecordset(strsql)
How can I see the result in datasheet view of recordset rs
thanks ...
Dim db As Database
Dim rs As Recordset
Dim empnum As Long
Dim strsql As String
Set db = CurrentDb()
empnum = 10248
strsql = "select * from Orders where [OrderID]= " & empnum & ";"
Set rs = db.OpenRecordset(strsql)
How can I see the result in datasheet view of recordset rs
thanks ...