tally lock ( improved )

Discussion in 'Free Source Codes' started by ONKAR, May 28, 2019.

    
  1. ONKAR

    ONKAR Active Member


    Try This One.....(Modified)
    Hope You Will Like It guys --------- enjoy


    [System: Events]

    Mytally:systemstart:not $$IsRemoteCompany:Call:mytallyLock


    [Function:mytallyLock]
    01:Alter:TallyLock

    [Report:TallyLock]
    Title:$$LocaleString:"TALLY LOCK"

    [Form:TallyLock]
    Height:25% page
    Width:25% page
    Part:TallyLock
    Control:Abb:mad:@ABB1
    Add:Button:SHUTPrograme11,SHUTPrograme12
    Background:Lily White

    [Button:SHUTPrograme11]
    Key:Esc
    Action:Display:You Are Not Owner
    Title:$$LocaleString:"Go Back"

    [Button:SHUTPrograme12]
    Key:ctrl+Q
    Action:Display:You Are Not Owner
    Title:$$LocaleString:"Stop!!"


    [System:formula]
    abb:"Wrong Password!!" + $$NewLine+ "Better Luck Next Time...."
    abb1:#TallyLockpassword not contains @@TTE
    abb11:$$IsEmpty:#TallyLockpassword ;contains @@TTE

    [Part:TallyLock]
    Line:TitleT,TallyLock
    Border:ThickBox;one
    Background: Stone Wash
    Horizontal Align:Center

    [Border:ThickBoxone]
    Top:Thick
    Right:Thick
    Left:Thick
    Bottom:Thick
    Color:yellow

    [Line:TitleT]
    Field:Formsubtitle
    Local:Field:Formsubtitle:Set as:"ENTER YOUR PASSWORD "
    Local:Field:Formsubtitle:Color:Geranium
    Local:Field:Formsubtitle:Style:TTE

    [Style:TTE]
    Font:Calbri
    Height:13
    Bold:Yes

    [Line:TallyLock]
    Field:TallyLockpassword
    Space Top:1

    [Field:TallyLockpassword]
    Type:String
    Full Width:Yes
    Maximum:20
    Color:yellow
    Align:Center
    Background:Red
    Set Always:Yes


    [System:udf]
    ispassword:String:1555

    [System:Formulae]
    TTE: "12345"




    see this above code, in this code, you can change as per your choice password, in this code default password is "12345" ( mentioned in the bottom part in red color ) change as per your choice and save this , then load this tdl in your tally , then restart your tally , then tally will show like this screen , then put your correct password and hit the enter button , tally will open

    see these images

    tally lock.JPG


    tally lock 2.JPG
     
    shekh2101 likes this.


  2. nasir

    nasir Member


    NOT WORKING
     


  3. ONKAR

    ONKAR Active Member


    @nasir Bhai please use new tally version, and see my screen shot , its perfectly working.
     


  4. nasir

    nasir Member


    ONKAR BAHI CAN I HAVE UR MAIL ID AND WHATSAPPPLZZZZ
     


  5. ONKAR

    ONKAR Active Member


    @nasir sorry sir Ji. please try carefully, perfectly working by my side. check again, I clearly mentioned in my thread, please read carefully and then try, ok have a good day :)
     
    panam likes this.


  6. Atul Khakher

    Atul Khakher Member


    Dear All

    Any Lock you put at start up will work only when you start program, Once your programme is started you go to configure and Manage Local TDL - it will start Working. so need correction in program to deactivate All TDL if conditions does not match. or you need to fix variable in tdl - Add TDL is permanently "No"

    Regards
     


  7. dipu369

    dipu369 Member


    It is working but when you press Enter Key it will open the DEFAULT Company . Wrong coding in Loop.
     


Share This Page