Mr. Enrico,
I have to open the connection using oCn2:CursorLocation = adUseClient.
I was using my own Exec function, but in yours is that set on. Now it is working fine.
Also, in MySQL, when creating a table, this sets up auto_increment feature and it is managed by MySQL:
cQuery += "ID INTEGER NOT NULL AUTO_INCREMENT, PRIMARY KEY(ID), "
What is the equivalent please for MS Access?.
For MsAccess, I tried with NO luck:
cQuery += "Id INT IDENTITY PRIMARY KEY, "
But the auto increment feature is not managed propelly, I always get 0 at the Id field. Anything else to set up?.
Thank you.
Best regards
Muchas gracias. Many thanks.
Un saludo, Best regards,
Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producci贸n]
Implementando MSVC 2010, FWH64 y ADO.
Abandonando uso xHarbour y SQLRDD.