Results 1 to 2 of 2

Thread: DD: Add_System_File Lock Options

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    1,830

    Default DD: Add_System_File Lock Options

    Hi DAW

    Can we please have an additional define added to this list as per (see red):

    Code:
    Enumeration_List
        Define DD_Lock_on_All             for  7  // 111
        Define DD_Lock_on_New_Save_Delete for  5  // 101
        Define DD_Lock_on_Delete          for  4  // 100
        Define DD_Lock_on_Save            for  2  // 010
        Define DD_Lock_on_New_Save        for  1  // 001
        Define DD_Lock_on_None            for  0  // 000
    End_Enumeration_List
    We are currently doing this in our DD classes:

    Click image for larger version. 

Name:	DD_LOCK_MOdes.png 
Views:	199 
Size:	5.4 KB 
ID:	13895

    It would be nice to have 0 defined as DD_Lock_on_None.

    We have reference tables are do not need any locking during Save/Delete operations - so why even have them on the list of externals tables ? For visibility, which is rather important when maintaining the DD to be clued that a certain table is explicitly being used within the DD.

    Also, doing a text-search on "Set Add_System_File to Customer.File_Number" will return a smaller and more precise list than say "Open Customer"
    Last edited by raveens; 12-Aug-2020 at 08:53 PM. Reason: missing image
    Regards,
    Raveen Sundram

    Software Development Manager
    Excellent Software Ltd
    Auckland, New Zealand
    www.helixretail.co.nz


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •