Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete class for parent/child
Message
From
08/05/1998 12:33:54
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
08/05/1998 12:29:50
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00098115
Message ID:
00098119
Views:
20
>Does anyone have or know of a delete button class which will allow me to delete child records of the parent? I realized (rather late I'm afraid) that the delete button I'm using assumes I want to delete for the master alias, and pays no attention to the children.
>
>I made things complicated for myself in that I was trying to use the same set of buttons at the bottom of the form and have them apply to my master table when I was on Page 1 of a page frame, and the child table when I'm on Page 2. The other parts seem to be working, but the delete is really insufficient.
>
>On the other hand, who needs to delete anyway;)
>
>Thanks,
>
>Sylvia
Sylvia,
Using referential integrity for database I think a button with only a custom property cAlias2OperateOn would be sufficient.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform