Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need syntax help on dbsetprop() KeyField
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00153752
Message ID:
00154151
Vues:
18
John,
The following command will set the field "MyField" in the view "MyView" as a key field for the view:

=DBSETPROP('MyView.MyField','Field','KeyField',.T.)

Of course, the key expression in this example is very simple. I'm not sure complex expressions like you show are allowed to be used as update keys in views. Are you able to set this like you want in the view designer?
Mark


>I can't quite figure out the syntax for the dbsetprop() command to set the key field. I've tried these commands with no luck. Any ideas?
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform