A
Ashish Nanda
I tried using the following syntax to ope a connection and
run a SQL query from it in my MS Access shared program
which is used simultaneosly by sevenral users.
The application runs this SQL script from my workstation
where i did the coding and designed the application but
when i take the application to aanother system it gives me
an error saying object not defined.
What could be the cause of this.
I have all the tables in the application linked and they
reside in the database server.
Is there an easy way to perform this operation as whenever
i log in a connetion is estabvlished if so how can i run a
qury like this or call a procedure.
Dim IRowcount As Integer
'Set OraSession = CreateObject
("OracleINProcServer.XOraSession")
'Set OraDataBase = OraSession.OpenDatabase
("bio", "scott/nanda", ORABD_DEFAult)
'IRowcount = OraDataBase.ExecuteSQL("Update leadman.leads
set date_avail=null,remove ='Y',rsn2remove='De Allocated'
where (sysdate-date_avail)>15")
'MsgBox IRowcount & " Rows De Allocated"
Best REgards,
Ashish nanda
run a SQL query from it in my MS Access shared program
which is used simultaneosly by sevenral users.
The application runs this SQL script from my workstation
where i did the coding and designed the application but
when i take the application to aanother system it gives me
an error saying object not defined.
What could be the cause of this.
I have all the tables in the application linked and they
reside in the database server.
Is there an easy way to perform this operation as whenever
i log in a connetion is estabvlished if so how can i run a
qury like this or call a procedure.
Dim IRowcount As Integer
'Set OraSession = CreateObject
("OracleINProcServer.XOraSession")
'Set OraDataBase = OraSession.OpenDatabase
("bio", "scott/nanda", ORABD_DEFAult)
'IRowcount = OraDataBase.ExecuteSQL("Update leadman.leads
set date_avail=null,remove ='Y',rsn2remove='De Allocated'
where (sysdate-date_avail)>15")
'MsgBox IRowcount & " Rows De Allocated"
Best REgards,
Ashish nanda