Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Appending Confusion
Message
De
17/07/2000 22:56:48
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
 
 
À
17/07/2000 17:15:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00393400
Message ID:
00393633
Vues:
18
>>>So If I only define a key field for the table I want to update in the view, that's the only table that gets an appended record? Sounds simple enough.
>>
>>That is correct.
>
>
>That should be the way that it is, but unfortunately, it's not. Tables listed in the view's Tables property will all get a blank record and often this will cause an error to the effect of "cannot insert an empty row..." because none of the fields are set as updatable.
>
>Jimmy, you'll need to use the view's Table property via DBSETPROP to ensure that only one table is listed.

So would this do the trick.......

DBSETPROP("intrancust", "view", "Tables", "inventory")
=TableUpdate(.T.)

Thanks
JD
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform