Unique Not Working

Discussion in 'Tally Developer' started by Anand Sharma, Jul 16, 2019.

    
  1. Anand Sharma

    Anand Sharma Member


    Ledger Mob.No. Not Working With Unique Field

    [#Field:LED Mobile]
    Unique:Yes


    Plz Help
     


  2. balajimg

    balajimg Active Member


    its a single field and not repeating on any line, so why would unique work
     


  3. Anand Sharma

    Anand Sharma Member


    Plz Suggest Right Way or Any Hint
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    I think you want to prevent duplicates??? So "Unique" will not work............

    What you need to do is make a collection of all the mobile numbers and then at the field level make a CONTROL for duplicates.
     


  5. balajimg

    balajimg Active Member


    put mobile in alias, automatically tally will block duplicates
     


  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Doing this.... during ledger selection all the mobile numbers put in Alias will display on top as number takes precedence in sorting.
     


  7. balajimg

    balajimg Active Member


    do agree, but reduces the process time for checking.... more over doesn't matter if it comes first in table
    other way is to disable alias in ledger table, and add Format : $Onlyalias so that it is next to $name in table
     
    Amit Kamdar likes this.


  8. Anand Sharma

    Anand Sharma Member


    Dear balajimg, Thanks For Replay....
    But I Can Develop not jugar.....

    Thanks For Replay..... I want to unique mob no for CRM purpose


    Thanks For Replay Amit Sir Ji
     


  9. drive

    drive Active Member


    i Agree with Amit sir without control by collection in field level its not possible.
     


Share This Page