New & Most powerful TDL Functions

Discussion in 'Tally Developer' started by admin, Apr 17, 2012.

    
  1. admin

    admin Administrator Staff Member


    $$ContextkeyWord
    Code:
    this can be used to get the Report or menu title in the context for use in
    context sensitive / online help searching by keyword.
     
    Takes an optional logical parameter to indicate if topmost report (current report)
    needs to be skipped. If no reports are active this parameter is ignored.
     
    Returns the Report or Menu title at the top.
    $$StrByCharCode
    Code:
    This can be used to get any character (ASCII range and Unicode range)
    provided a Character code to it. The first parameter is the character code which should be a number.
    $$StringWordEx
    Code:
    New Function created for getting String Value from Expression.
     
    Syntax of the the same is as follows -
     
    $$StringWordEx:<Expression>:<Seperator>:<position>
     
    First Paramater                    : Whole String Expression
    Second Parameter                :  Single character Seperator as a string eg. "~"
    Third Parameter(Optional)    :  Position of the String Value in the original expression (also supports First and Last)
     
    For example, when there is an expression, saved as follows -
     
    "My~Name~Is~Kamesh"
     
    each value can be obtained using this function based upon seperator + position as given below -
     
    $$StringWordEx:"My~Name~Is~Tally":"~":Last    ---> Result = "Tally"
    $$StringWordEx:"My~Name~Is~Tally":"~":First    ---> Result = "My"
     
    naren1234 likes this.


  2. Manikanta.A

    Manikanta.A New Member


    Added a udf during voucher entry "Bill Posted Date" and want to generate a report which will provide the date filter based on this posted date.

    for example voucher posted on 27th october 2012 in tally by taking the voucher date as 25th october 2012, and now i want to know the vouchers those are posted on 27th october 2012 what ever the voucher date is,

    for this i added a udf during voucher entry "Bill posted Date:" and set the default value as system date and now i am trying to generate a report in which we can set the date filter based on this posted date but i am unable to generate the code here.

    kindly help me in this,

    Thank you in advance
     


Share This Page