Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cascading Updates for non-key fields
Message
From
25/05/1999 23:09:32
 
 
To
25/05/1999 20:08:41
John White
Micro-Oriented Software Techniques, Inc.
Phoenix, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00222726
Message ID:
00222774
Views:
24
>I have two tables: Departments and Projects.
>
>ProjectEditForm contains a combobox that allows selection of a department. The valid clause copies the department manager's name into the Project (not 3rd Normal Form, but there's a reason).
>
>I want the manager's name in projects to be updated whenever it is changed in the Department table.
>
>What is the recommended method for doing this within the confines of the Mere Mortals framework?
>
>...John

I would make the name a key and use the RI to cascade the change to the child file.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform