Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - KEYFILEDLIST - Can not set?
Message
 
À
25/03/1997 10:31:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00025499
Message ID:
00025524
Vues:
30
>>>When I try to update my table form my VIEW. I get an error message that says...
>>>NO KEY COLUMNS ARE SPECIFIED FOR THE UPDATE TABLE mytable. Use KeyFiledList property of the cursor.
>>>
>>>Any suggestions?
>>
>>you need something like:
>>
>>=dbsetprop('myview.myfield','field',;
>> 'keyfield',.T.)
>
>Hi Bruce...
>
>what is the difference between =dbsetprop and =cursorsetprop?

dbsetprop is for use with databases, I guess that's the main difference. I use it because my views are added to the DBCs...dbsetprop covers other things like connections, which aren't covered by cursorsetprop...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform