Hi VB'ers,
I'm using RDO to execute a SQL Server 7 stored procedure.
Global Cn As rdoConnection
Dim ManQuery As New rdoQuery
Dim Cn As rdoConnection
sSQL = "{call usp_Manual_Scan ('sSpur', 'sModel', 'sSerial')}"
ManQuery.SQL = sSQL
'**** this line gives compile error 'Invalid use of property' on ActiveConnection
ManQuery.ActiveConnection = Cn
'*******************
ManQuery.Execute
I must be doing something wrong.
Thanks for any help. John
I'm using RDO to execute a SQL Server 7 stored procedure.
Global Cn As rdoConnection
Dim ManQuery As New rdoQuery
Dim Cn As rdoConnection
sSQL = "{call usp_Manual_Scan ('sSpur', 'sModel', 'sSerial')}"
ManQuery.SQL = sSQL
'**** this line gives compile error 'Invalid use of property' on ActiveConnection
ManQuery.ActiveConnection = Cn
'*******************
ManQuery.Execute
I must be doing something wrong.
Thanks for any help. John