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

Click here to load this message in the networking platform