Is it possible to use a select statement for a query instead of a table? If so, what is the syntax?
With rst
.PageSize = 8
.ActiveConnection = cn
.Source = "SELECT * FROM 'search query'"
.LockType = adLockOptimistic
.CursorType = adOpenStatic
.Open
End With
Thanks-
With rst
.PageSize = 8
.ActiveConnection = cn
.Source = "SELECT * FROM 'search query'"
.LockType = adLockOptimistic
.CursorType = adOpenStatic
.Open
End With
Thanks-