Hello,
[WD22] [ using postgres now, should work with any database ] [ multi - tenant ]
I need to delete a set of records which is having dependent child records also in the same file. Say
TenantInd Code Name ParentCode
100 101 Name - 1 Null
100 102 Child - 11 101
100 103 Child - 111 102
100 104 Child - 1111 103
....
I need to delete records pertaining to TenantID = 100 only. Since this records are having FK integrity, it need to be deleted from the last child to first parent [ bottom up approach ? ].
Is there any simple way of deleting those records in Windev, that I need not go through writing cursors or something similar ?
Happiness Always
BKR Sivaprakash
[WD22] [ using postgres now, should work with any database ] [ multi - tenant ]
I need to delete a set of records which is having dependent child records also in the same file. Say
TenantInd Code Name ParentCode
100 101 Name - 1 Null
100 102 Child - 11 101
100 103 Child - 111 102
100 104 Child - 1111 103
....
I need to delete records pertaining to TenantID = 100 only. Since this records are having FK integrity, it need to be deleted from the last child to first parent [ bottom up approach ? ].
Is there any simple way of deleting those records in Windev, that I need not go through writing cursors or something similar ?
Happiness Always
BKR Sivaprakash