Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No update tables are specified
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01078502
Message ID:
01078545
Vues:
14
What is value of cSQLStr?

>When I try to do a SELECT * FROM tbl INTO ... when tbl is my remote view to a SQL table, I'm all of a sudden getting the following "No update tables are specified. Use the Tables property of the cursor". I was getting this when I created a remote view using the wizard in MODI DATA and I also got it when i used SQLCONNECT(), SQLEXEC() and several CURSORSETPROP() entries - what am I missing?
>
>Here's the latest code:
>
>
>nRetVal=SQLEXEC(nConn,cSQLStr,'ApS')
>     =CURSORSETPROP("Tables","ApS")
>     =CURSORSETPROP("UpdateNameList", "Supplier aps.Supplier, SupplierName aps.SupplierName Telephone aps.Telephone, "+;
>     "Fax aps.Fax, Contact aps.Contact, FaxContact aps.FaxContact, Email aps.Email")
>     =CURSORSETPROP("KeyFieldList", "Supplier")
>     =CURSORSETPROP("UpdatableFieldList", "Supplier, SupplierName")
>     =CURSORSETPROP("UpdatableFieldList", "Supplier, SupplierName, Telephone, Fax, Contact, FaxContact, Email")
>    =CURSORSETPROP("SendUpdates",.F.,'Aps')
>    =CURSORSETPROP('buffering', 5, 'Aps')
>   SELECT ApS
>
>SELECT * FROM Aps INTO CURSOR curTest  && I get the error executing this line.
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform