Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replaceing a field using another table
Message
From
20/04/2000 23:18:45
 
 
To
20/04/2000 22:52:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00362116
Message ID:
00362121
Views:
29
John,

Just curious... Why do your messages always have the > marks < around them? That's not the usual when entering a new UT message.

>> I'm trying to update of replace a field in a table, using <
>> another table.

You already have a good suggestion from someone else about how to do this, but why is it necessary? If the policies' group_code is supposed to always be the same as the client's, just keep the code in the client table and get rid of it in the policy table. When you need to know the group_code for a policy, get it with a join to the client table in your SQL SELECT statement.

Unless there is some reason that a policy's code could be different from the current client code, you are denormalizing your table design which results in this kind of maintenance headache.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform