Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy value from 1 field to another in the dbc
Message
 
À
28/07/1998 16:30:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00122106
Message ID:
00122199
Vues:
23
Hi Robert,
Just out of curiosity... any particular reason why would you want to do something like this. I am sure there is one.... but maybe there is a better approach.

>Say I have 2 fields in a table, f1, f2. Assume I want f2 to mirror the value of f1. How can I propogate changes from f1 to f2?
>
>I've tried using record-level validation. I do something like:
>IF OLDVAL(f1) != f1
>REPLACE f2 WITH f1
>ENDIF
>
>This works, except the documentation seems to say I shouldn't do this.
>
>Help.
>Bob
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform