Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote cursor to editable cursor
Message
De
15/03/1999 01:21:54
 
 
À
14/03/1999 19:20:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00197443
Message ID:
00197507
Vues:
11
>Here is the error message:
>No key columns are specified for the update table "...". Use the KeyFieldList property of the cursor."

Check the following lines:

cursorsetprop('keyfieldlist','fc2') && keyfield list isn't empty
cursorsetprop('updatenamelist','fn1 test.fn1, fc2 test.fc2, fd3 test.fd3')
* updatename list isn't empty, describes right fields in both cursor and remote table: "fn1 test.fn" means "field fn1 in cusor is corresponding to test.fn1, i.e. field fn1 in remote table test". Usually all key fields must be updatable to have possibility for adding new records.
cursorsetprop('updatablefieldlist','fn1,fc2,fd3')
* the same for 'updatablefieldlist'
cursorsetprop('tables','TEST') && name of remote table(s)

That fragment was from _working_ program. So you should rewrite all your parameters accurately. First time when I were trying it I spent about 2 hours to found right way. Don't worry, you are not alone! <g>
Virtually yours, Dmitry

mailto: me@duginov.com * www.duginov.com * ICQ UIN 6769428
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform