check digit in tally

Discussion in 'Tally Developer' started by Pulkit lila, Nov 8, 2012.

    
  1. Pulkit lila

    Pulkit lila New Member


    For this particular cheque field i want that only a 6 digit value is added not 5 nor 7 exactly 6 digits.
    it cud give an error message if the digit is less or more than 6.
    PLZ NOT THIS CAN ALSO BE BLANK. So i need to provide for that also. It shud not give an error if its left blank.

    [line : lnVCHChequeNumber]
    fields : short prompt,fld VCHChequeNumber
    Local : Field : short prompt : Info : $$LocaleString:"Cheque No "

    [Field: fld VCHChequeNumber]
    Use: Name Field
    Storage: ChequeNumber

    how can i do this .plz help.

    Beside this i also want to insert other check digits cud someone tell me its basics....
     



  2. Add Belows Attributes to fields

    [Field: fld VCHChequeNumber]

    Use: Name Field
    Storage: ChequeNumber
    Max : 6
    Validate : not $$IsEmpty:#fld VCHChequeNumber or $$StringLength:$$Value=6
    Style : Small Bold


    try it 90% its work but i am not sure
     


  3. Pulkit lila

    Pulkit lila New Member


    thanx umesh with some minor modifications it worked fine.......

    pulkit lila
     


Share This Page