Dear Expert Kindly Help Me To inactive Complete line

Discussion in 'Free Source Codes' started by GOINDI1311, Jul 29, 2021.

    
  1. GOINDI1311

    GOINDI1311 Member


    kindly Help
    If Declaration Part is Empty then inactive full row

    [Part:Details]
    Line : DetailsHead,Details
    Repeat : Details:DECCollection
    Scroll : Vertical
    Common Border : Yes

    [Line:DetailsHead]
    Use : Details
    Border : Column Titles
    Local : Field : Default : Style : Small Bold
    Local : Field : Default : Align : Center
    Local : Field : Default : Delete : Border
    Local : Field : Sno : Set as : "Sno"
    Local : Field : Name : Set as : "Ledger Name"
    Local : Field : Decla1 : Set as : "Declaration Status"
    Local : Field : Ded1 : Set as : "Apllicability"

    [Line:Details]
    Left Field : Sno,Name
    Field:Decla1,DED1

    Option : AlterOnEnter
    Border : Thin Left Right Bottom
    Space Bottom : 0.5 mm
    Space Top : 0.5 mm


    [Field:Default1]
    Line : 0
    Border : Thin Left
    Style : Small
    Inactive: If $$IsEmpty:#DECLA1 then Yes Else no
    [Field:Sno]
    Use : Default1
    Alter : Ledger
    Set as : $$Line
    Width : 1.2 cm
    Align : Center
    Inactive: If $$IsEmpty:#DECLA1 then Yes Else no

    [Field:Name]
    Use : Default1
    Set as : $Name
    Width : 45
    Quick Search : Yes
    Align : Left
    Inactive: If $$IsEmpty:#DECLA1 then Yes Else no

    [Field:DECLA1]
    Type : String
    Set as : $DECLA
    Width : 35
    Align : Center
    [Field:DED1]
    Type : String
    Width : 18
    Set as : $Ded
    Align : Center
    Inactive: If $$IsEmpty:#DECLA1 then Yes Else no
    [Collection:DecCollection]
    Type : Ledger
    Fetch : Name,Decla,Ded

    upload_2021-7-29_13-56-3.png
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    In Part level .....define INVISIBLE ifempty.............
     


  3. GOINDI1311

    GOINDI1311 Member


    Sorry Sir, Mistakenly I write part/ Its Contains with field level....................
    Display only those lines which contain Declaration value. otherwise line should be romve/hide
     
    Last edited: Jul 29, 2021


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    at LINE level....use -------- Remove If : empty:thisfld
     


  5. ROHIT JAISWAR

    ROHIT JAISWAR Active Member


    Try this
    Code:
    [Line:Details]
    Left Field : Sno,Name
    Field:Decla1,DED1
    Option : AlterOnEnter
    Border : Thin Left Right Bottom
    Space Bottom : 0.5 mm
    Space Top : 0.5 mm
    Remove if    :    $$IsEmpty:#Sno
     


  6. GOINDI1311

    GOINDI1311 Member


    Thanks Sir You both helps me alot.

    thanks very much Amit Ji & Rohit Ji
     


Share This Page