Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote View won't update in program
Message
 
 
À
15/04/2008 00:05:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01310607
Message ID:
01310645
Vues:
11
You have to check Tableupdate() return value. It will return .F. if it fails. You can use AERROR() to get error info.

>
>I am having trouble with a remote view to an SQL database. My view selects a single record based on UPC in the dbo.Products table.
>
>I have set the view to Send SQL Updates, Update using SQL Update, and selecting all the fields for update. Interactively, when I edit a field or 2 and call a
>Tableupdate(2,.t.) the table is updated successfully. Programatically, it is not updated.
>
>In the code, I have done a
>Set Multilocks on
>Cursorsetprop("buffering",5,"webunit")
>
>I have done similar things in other views and they have worked. What am I doing wrong here? Any ideas? Thanks in advance
>
>Al
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform