Color to alternate rows

Discussion in 'Free Source Codes' started by bhuvangupta, Jan 10, 2020.

    
  1. bhuvangupta

    bhuvangupta New Member


    I need help

    [#Line:DSP VchDetail]
    Local : Field : Default : Background: IF $$Line/2=0 THEN "GRAY" ELSE "WHITE"

    upload_2020-1-10_15-32-6.png
     


  2. SANTHOSH C KURIAN

    SANTHOSH C KURIAN Active Member


    Local:Field:Default:Background:If $$IsOdd:$$BalanceLines Then "White" Else "Grey1"
     
    lumos, Frz and Ria like this.


  3. sattam

    sattam Active Member



  4. udaya

    udaya Active Member


    Fantastic Work......
     


  5. udaya

    udaya Active Member


    [#Line:DSP VchDetail]
    Local:Field:Default:Background:If $$IsOdd:$$BalanceLines Then "White" Else "Grey"



    -------The result is excellent
     

    Attached Files:

    • sc1.jpg
      sc1.jpg
      File size:
      531.8 KB
      Views:
      150


  6. Frz

    Frz Member


    super!

    small issue
    doesn't work in columnar reports like sales & purchase register

    also:)
    can we have the same i voucher entry?
    alternate colours for every line?
     
    Last edited: Jan 17, 2020


  7. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    whichever report has a REPEAT.....it will work.
     


  8. Umashankar

    Umashankar Member


    Dear Amit Sir, how to get alternate colors in P&L, B/S, please guide me.
    Regards,
    Umashankar
     


  9. Gopal solanki

    Gopal solanki New Member


    [#Line:DSP VchDetail]
    Local:Field:Default:Background:If $$IsOdd:$$BalanceLines Then "Grey" Else "White"
    [#Line: PLDetail]
    Local:Field:Default:Background:If $$IsOdd:$$BalanceLines Then "Grey" Else "white"
    [#Line: BSDetail]
    Local:Field:Default:Background:If $$IsOdd:$$BalanceLines Then "Grey" Else "white"
     
    Frz likes this.


  10. Umashankar

    Umashankar Member


    Thank You Gopal Solanki Sir.
    Regards,
    Umashankar
     


  11. lumos

    lumos Member


    Thankyou so much santosh sir, It solved my problem of another project.
     


Share This Page