Voucher Type Short Name

Discussion in 'Tally Developer' started by Zaxx, Nov 5, 2020.

    
  1. Zaxx

    Zaxx New Member


    Hello,

    I have a field to show Voucher Type in Column Day book. It shows properly like "Payment/Receipt" etc. But what I want is to show only the first n number of characters, like "P", "R", "J", etc, or just "Pay", "Rec", etc.

    Here's the field code:
    Code:
    [Field : MyVchType]
    Use : Name Field
    Set As : $VoucherTypeName
    Border : All Border
    Width: 10
    Style : MyCusStyle
    Any help would be appreciated, thanks.
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Use $$StringPart function.............
     


  3. Zaxx

    Zaxx New Member


    It worked, thanks.
     


Share This Page