Results 1 to 3 of 3

Thread: DD Created with wrong indentation

Hybrid View

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

    Default DD Created with wrong indentation

    Hi,

    Just created a new table from scratch, with a new DD.

    I notice that the studio created the DD with a mix indentation of 2 (which is what I use) and 4 (which is the studio's default)

    The studio has been set to use a tab size of 2 and to convert tabs to spaces while typing.

    Here's what the studio generated:

    Code:
    Use efx_DataDict.pkg
    
    Open USRCODE
    Open USRTYPE
    
    Class USRCODE_DataDictionary is a efx_DataDictionary
        
        Procedure Construct_Object
            Forward Send Construct_Object
            Set Main_File to USRCODE.File_Number
    
          Set Add_Server_File to USRTYPE.File_Number
    
            Set Foreign_Field_Option DD_KEYFIELD DD_NOPUT to True
            Set Foreign_Field_Option DD_KEYFIELD DD_FINDREQ to True
            Set Foreign_Field_Option DD_INDEXFIELD DD_NOPUT to True
            Set Foreign_Field_Option DD_DEFAULT DD_DISPLAYONLY to True
    
          Set Field_Label_Long Field USRCODE.DELETED to "Deleted"
          Set Field_Option Field USRCODE.DELETED DD_CAPSLOCK to True
          Set Field_Checkbox_Values Field USRCODE.DELETED to "Y" ""
          Set Field_Option Field USRCODE.DELETED DD_NOENTER to True
    
        End_Procedure
    
    End_Class
    Is there a template (DFO) I can modify/change?

    Thanks.
    Regards,
    Raveen Sundram

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


  2. #2
    Join Date
    Feb 2009
    Location
    Masterton, New Zealand
    Posts
    167

    Default Re: DD Created with wrong indentation

    Raveen,

    Try DDClassPackage.tpl in Pkg/Config of your installation

    Regards Keith
    Last edited by Keith Nikolaison; 20-Aug-2013 at 06:51 PM.

  3. #3
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    1,830

    Default Re: DD Created with wrong indentation

    Sweet!

    Thanks, Keith.
    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
  •