Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to use updateable views...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00155397
Message ID:
00155433
Vues:
22
>>>Another thing, that with JOIN you have there you will get 6 records with the same key from parent table and if you set tstParent.prntid as keyfield you will get nothing good but "Update Conflict" :) It will work only if you set tstChild.prntid as a keyfield.
>>
>>I mean here that it will be good only for updating fields in tstChild table, because all fields from txtParent in the view (6 records in the view) will point to the same record in tstParent table.
>
>Actually, that was the expected behavior ( same parent record )
>
>I see in the View designer that I must set a field to a "KeyField" before I can set it to updateable. Does that make sense to you? It doesn't to me. What if the field I want to update is NOT a keyfield?

This is right. Without at least one key field you cannot make other fields updatable. Keyfield may be also updateable or not.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform