Mensaje
General information
Foro:
Visual FoxPro
Category:
Clases - VCX
Título:
Miscellaneous
ID de la conversación:
00522167
ID del mensaje:
00523199
Views:
26
This message has been marked as a message which has helped to the initial question of the thread.
Nadya,

If you delete a record in a view and then TableUpdate() the delete will take place on the underlying table.

If you delete a parent record you can use RI to cascade the delete to the child tables or code your own.

>How do you update child table? How do you delete records from the child, if you delete record from the parent? Do you use RI? I'm working in this direction right now.
>
>BTW, instead of Mover I implemented MultiSelect Grid + ListBox. When I select items in the grid, I show selections in the Listbox (Multiselect=.t.). I also allow to delete records from ListBox, and this updates selections. Everything works fine so far, except for delete (I haven't created a RI yet).
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Responder
Mapa
Ver