I'm using ADO in Excel to connect to PDX tables on an NT network.
Connection String is:
ADOcon.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=G:\DBDIR;Extended Properties=Paradox 7.X"
Query for opening Recordset is:
Query$="SELECT Tab1.Field1, Tab1.Field2 FROM Tab2, Tab1 WHERE Tab1.Field3 = Tab2.Field1 AND ((Tab2.Field2='Something') AND (Tab2.Field3 Is Null))"
Recordset Call is:
RST.Open Query$, ADOcon, adOpenStatic
It takes greater than 60 seconds to return data, regardless if only 1 record is returned or more. Size of Tab1 is about 2000 records. Tab 2 is about 10000 records.
Making a similar ADO call to an Access table takes less than 3 seconds.
I have tried playing with ADO Connection/Recordset settings and with BDE settings with no luck. I have confirmed that ADO is properly accessing the Pdoxuser.net file and generating correct .lck files.
Is this just the way that ADO/Paradox work, or are there some tricks out there?
Thanks,
Regan
Connection String is:
ADOcon.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=G:\DBDIR;Extended Properties=Paradox 7.X"
Query for opening Recordset is:
Query$="SELECT Tab1.Field1, Tab1.Field2 FROM Tab2, Tab1 WHERE Tab1.Field3 = Tab2.Field1 AND ((Tab2.Field2='Something') AND (Tab2.Field3 Is Null))"
Recordset Call is:
RST.Open Query$, ADOcon, adOpenStatic
It takes greater than 60 seconds to return data, regardless if only 1 record is returned or more. Size of Tab1 is about 2000 records. Tab 2 is about 10000 records.
Making a similar ADO call to an Access table takes less than 3 seconds.
I have tried playing with ADO Connection/Recordset settings and with BDE settings with no luck. I have confirmed that ADO is properly accessing the Pdoxuser.net file and generating correct .lck files.
Is this just the way that ADO/Paradox work, or are there some tricks out there?
Thanks,
Regan