J
Jim
In looking at the documentation for the OpenRecordset() method, I see two versions. The signature for Connection's & Database's is:
Set recordset = object.OpenRecordset(source, type, options, lockedits)
while for QueryDef's, Recordset's, & TableDef's, the signature is:
Set recordset = object.OpenRecordset(type, options, lockedits)
In one of the online examples (and one that I got to work...), the code is:
Set rstTemp = dbsNorthwind.OpenRecordset("Ten Most Expensive Products", dbOpenForwardOnly)
This only specifies a type value as a parameter. The documentation doesn't elude that options & lockedits are optional. Are these values collectively being used to set a mask? Otherwise, how am I to know which parameters are optional or not? Thanks for any insight provided.
Jim
Set recordset = object.OpenRecordset(source, type, options, lockedits)
while for QueryDef's, Recordset's, & TableDef's, the signature is:
Set recordset = object.OpenRecordset(type, options, lockedits)
In one of the online examples (and one that I got to work...), the code is:
Set rstTemp = dbsNorthwind.OpenRecordset("Ten Most Expensive Products", dbOpenForwardOnly)
This only specifies a type value as a parameter. The documentation doesn't elude that options & lockedits are optional. Are these values collectively being used to set a mask? Otherwise, how am I to know which parameters are optional or not? Thanks for any insight provided.
Jim