Skip to Content
author's profile photo Former Member
Former Member

Table Maintenance Generator-Before Delete event not working with sort

Hi All,

I have requirement to sort the TMG for a custom table with non primary key and also to put condition for deleting entries, so that only specific entries can be deleted.

I did the sorting by adding MODULE SORT in the PBO of the Screen and providing the logic to sort EXTRACT and TOTAL tables with the required field. This is working correctly.

Also I used BEFORE_DELETE (Event 03) to unmark all entries selected, which is not satisfying the condition. This is also working as expected.

But, though they are working independently, these changes are not working together.

Please help me in resolving this issue.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Sep 22, 2010 at 10:45 AM


    Read my answer on this thread :

    Maintenance View with Subset Fields

    I think It can help you about finding examples for table maintenance events

    and solution to your problem.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.