G
Guest
Hi,
We have been using the linked ODBC tables same Access data base. The only
change made was a convertion from Access 97 to Access 2002. All others like
ODBC configuration, DNS, Linked ODBC Tables etc are same as before.
Client system is; WinXP, Oracle client 9.2, Access 2002
There is a form to click for Synchronization between Access database and Web
database which is running on Orable based web server.
When it was with Access 97, clicking on FRM_Synchronize worked without an
error. However, ever since the data converted into Access 2002, it gave
'Runtime error 3086:Could not delete linked table...' I found the fact that
#3086 stands for 'web query'.
The below code is being used for the FRM_synchronize, since Access 97.
=========
Option Compare Database
Option Explicit
------------------------------------------------
Private Sub Command0_Click()
Form.SetFocus
Text1.Value = "Synchronizing... please wait ..."
Text1.SetFocus
Command0.Enabled = False
DoEvents
CurrentDb.Execute "DELETE FROM WEB_PROPERTY"
CurrentDb.Execute "INSERT INTO WEB_PROPERTY ( PROPERTY_ID, ..., , ...,
DETAILS, ..., ..._NAME ) SELECT [INVENTORY - MASTER].... FROM [INVENTORY -
MASTER];"
DoEvents
Text1.Value = "Done"
MsgBox "Done"
Command0.Enabled = True
End Sub
----------------------------------
When I click on Table: linked ODBC for "WEB_PROPERTY", I could see the table
from the web server. The ODBC connection was no problem.
Debug stopped at CurrentDb.Execute "DELETE FROM WEB_PROPERTY"
Would appreciate helps. I want to know how to make it work. Anyone who is
familar with delete and insert tables through the linked ODBC:Table, please
help me.
We have been using the linked ODBC tables same Access data base. The only
change made was a convertion from Access 97 to Access 2002. All others like
ODBC configuration, DNS, Linked ODBC Tables etc are same as before.
Client system is; WinXP, Oracle client 9.2, Access 2002
There is a form to click for Synchronization between Access database and Web
database which is running on Orable based web server.
When it was with Access 97, clicking on FRM_Synchronize worked without an
error. However, ever since the data converted into Access 2002, it gave
'Runtime error 3086:Could not delete linked table...' I found the fact that
#3086 stands for 'web query'.
The below code is being used for the FRM_synchronize, since Access 97.
=========
Option Compare Database
Option Explicit
------------------------------------------------
Private Sub Command0_Click()
Form.SetFocus
Text1.Value = "Synchronizing... please wait ..."
Text1.SetFocus
Command0.Enabled = False
DoEvents
CurrentDb.Execute "DELETE FROM WEB_PROPERTY"
CurrentDb.Execute "INSERT INTO WEB_PROPERTY ( PROPERTY_ID, ..., , ...,
DETAILS, ..., ..._NAME ) SELECT [INVENTORY - MASTER].... FROM [INVENTORY -
MASTER];"
DoEvents
Text1.Value = "Done"
MsgBox "Done"
Command0.Enabled = True
End Sub
----------------------------------
When I click on Table: linked ODBC for "WEB_PROPERTY", I could see the table
from the web server. The ODBC connection was no problem.
Debug stopped at CurrentDb.Execute "DELETE FROM WEB_PROPERTY"
Would appreciate helps. I want to know how to make it work. Anyone who is
familar with delete and insert tables through the linked ODBC:Table, please
help me.