Hi
I am using Pervasive 2000 (SP2), through an ODBC connection. Can someone explain why following syntax works:
select * FROM ACTIVITY_ARA_ACTIVITY AAA, ACTIVITY_ARA_STATUS AAS where AAA.Invoice = AAS.Invoice
and this syntax does NOT work, even though it is documented in the Pervasive 'help'.
select * FROM ACTIVITY_ARA_ACTIVITY AAA inner join ACTIVITY_ARA_STATUS AAS ON AAA.Invoice = AAS.Invoice
Here is how I am connecting:
Dim cnGold As adodb.Connection
Dim rsAR As adodb.Recordset
Set cnGold = New adodb.Connection
Set rsAR = New adodb.Recordset
With cnGold
.ConnectionString = "Provider=MSDASQL;User ID=steve;password="";Data Source=TSGold;"
.CursorLocation = adUseServer
.Mode = adModeReadWrite
.Open
End With
Thanks
I am using Pervasive 2000 (SP2), through an ODBC connection. Can someone explain why following syntax works:
select * FROM ACTIVITY_ARA_ACTIVITY AAA, ACTIVITY_ARA_STATUS AAS where AAA.Invoice = AAS.Invoice
and this syntax does NOT work, even though it is documented in the Pervasive 'help'.
select * FROM ACTIVITY_ARA_ACTIVITY AAA inner join ACTIVITY_ARA_STATUS AAS ON AAA.Invoice = AAS.Invoice
Here is how I am connecting:
Dim cnGold As adodb.Connection
Dim rsAR As adodb.Recordset
Set cnGold = New adodb.Connection
Set rsAR = New adodb.Recordset
With cnGold
.ConnectionString = "Provider=MSDASQL;User ID=steve;password="";Data Source=TSGold;"
.CursorLocation = adUseServer
.Mode = adModeReadWrite
.Open
End With
Thanks