I'm developing a program using vb.net under VS2017 and ADS v11.1 on Visual Foxpro free tables with adsDataAdapter.
I want to copy records from a current table into a history table:
INSERT INTO
c:\data\hinv.dbf
SELECT
*
FROM c:\data\cinv.dbf WHERE [balance] = 0.00
I get the error:
The requested object was not found. c:\data\hinv Link object is not supported on free connection. Table name: dbf
The connection string includes
Data Source: c:\data\; TableType=VFP; LockMode=COMPATIBLE; ServerType=LOCAL
The connection works perfectly for SELECT, INSERT, DELETE and UPDATE commands not using a subquery, for example
INSERT INTO
c:\data\hinv.dbf
(
[field1]
, [field2]
)
VALUES
(
value1
, value2
)
will work with no problem. I've tried the SAP community but received no response, and I've searched the net every way I can think of. I'm stumped.