Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying to update a ddf file with SQL

Status
Not open for further replies.

timeframe

Programmer
Aug 15, 2000
12
GB
I'm wanting to link tables from various DBs to one combined DB without using the PCC. I tried using an SQL statement via an ADO connection through an ODBC DSN, but this caused an error which said "you are not authorised to perform this operation". The SQL syntax was:

UPDATE X$File SET Xf$Loc = 'crm01\DCRM01CU.dat' WHERE Xf$ID = '1'

Also Access gives a similar error message when I try to update a linked File.ddf.

Updates work on the Billing table (using adoCon.Execute)in Demodata but that's not a system table.

How do I gain the correct permissions to perform such an update using SQL, or is it a restriction imposed by Pervasive's ODBC driver?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top