Need help on code : There are no visible parts

Discussion in 'Requests' started by Mehul Thanawala, Feb 19, 2022.

    
  1. Mehul Thanawala

    Mehul Thanawala New Member


    Hi,

    I am trying to write a code part of which is as follows

    [Report : RemarkR]
    Form : RemarkF
    Object : Ledger

    [Form : RemarkF]
    Part : RemarkP

    [Part : RemarkP]
    Line : RemarkL

    [#Part : LEDNotes]
    Add : Line : At End : RemarkL

    [Line : RemarkL]
    Field : Short Prompt, Remarks_Field
    Invisible : NOT ##LEDNotes
    Local : Field : Short Prompt : Setas : $$LocaleString:"Remarks:"

    And I get the following error :
    Error in TDL
    'Form : RemarkF'
    There are no visible parts.

    Can some expert please help to sort the code?
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Either post the full code, else others cannot comprehend the error or cause thereof.

    There is no FIELD defined ----- Remarks-field...............

    Also do not understand the need for REPORT and FORM in the above code. What is the purpose????
     



  3. Remove this
    Invisible : NOT ##LEDNotes

    It will work
    and also add the field of Remarks_Field which is not seen in above code
     


  4. Mehul Thanawala

    Mehul Thanawala New Member


    Sanjayji,

    This works perfectly. Thanks and appreciate your help
     


Share This Page