C
Carl
Some background - I had begun developing an applicaion
with Access 2000 and had a few simple modules
functioning. Then I upgraded to Office XP Pro and, with
Access 2002 found what had once been working wasn't
anymore. My dilema is opening databases and associated
indexes.
Based on a book I bought ("Access 2002 VBA Handbook")
I've entered the following code to open a TransactionFile
table:
Set rst = New ADODB.Recordset
Set cnn = New ADODB.Connection
Set cnn = CurrentProject.Connection
rst.Open "tblTransactionFile", cnn, adOpenDynamic
rst.Index = "Master"
When I get to the rst.Index line I get the error "Current
Provider does not support necessary interface for index
functionality".
I know there's probably all kinds of problems I'm bumping
up against - not the least of which is the changes
between Access 2000 and Access 2002.
Thanks
Carl
with Access 2000 and had a few simple modules
functioning. Then I upgraded to Office XP Pro and, with
Access 2002 found what had once been working wasn't
anymore. My dilema is opening databases and associated
indexes.
Based on a book I bought ("Access 2002 VBA Handbook")
I've entered the following code to open a TransactionFile
table:
Set rst = New ADODB.Recordset
Set cnn = New ADODB.Connection
Set cnn = CurrentProject.Connection
rst.Open "tblTransactionFile", cnn, adOpenDynamic
rst.Index = "Master"
When I get to the rst.Index line I get the error "Current
Provider does not support necessary interface for index
functionality".
I know there's probably all kinds of problems I'm bumping
up against - not the least of which is the changes
between Access 2000 and Access 2002.
Thanks
Carl