Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy value from 1 field to another in the dbc
Message
 
To
28/07/1998 16:30:02
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00122106
Message ID:
00122199
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform