View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Hexman Hexman is offline
external usenet poster
 
Posts: 13
Default How to open Access recordset via Query in Excel VBA???

I thought those were ENUM's.

Hexman

On 29 Mar 2006 05:44:01 -0800, "Kletcho" wrote:

You needed values for each of those properties instead of the name of
the property.

Set rstIn = db.OpenRecordset("SortPPX", dbOpenSnapshot,
dbSQLPassThrough, dbReadOnly) should have read
Set rstIn = db.OpenRecordset("SortPPX", True, False, False) or
whatever it is you wanted for those properties. They are optional
though and most times you don't need them.