Notes on LV screen

Discussion in 'Free Source Codes' started by love, Oct 10, 2021.

    
  1. love

    love Member


    A little code to save and display notes in LV screen , thanks to my guiding stars i.e experts in this forum, hope you guys like it. please guide me if any improvements are needed.

    Code:
    [#Line: DSP VchTotalAmt]
        Add: Line: At End: LEDNARR
       
    [Line: LEDNARR]
        Field:MEDIUM PROMPT,LEDNARR
        LOCAL:Field:MEDIUM PROMPT:Info:"IMPORTANT NOTES"
        LOCAL:Field:MEDIUM PROMPT:Invisible:$$IsEmpty:$LEDNARRS:LEDGER:#LEDGERNAME
        LOCAL:Field:MEDIUM PROMPT:Background: RED
       
    [Field: LEDNARR]
        Width:100% SCREEN
        Border:thin left right
        set as:$LEDNARRS:LEDGER:#LEDGERNAME
        Alter:LEDNARR
        Background: BLACK
        Invisible:$$IsEmpty:$LEDNARRS:LEDGER:#LEDGERNAME
        Color: WHITE
        Style: BOLD
    [BUTTON:LEDNARR]
        Title: NARRATION
        Key:ALT+F9
        Action    :  Alter        : LEDNARR
        Width            : 6.5% Screen   
        Height            : 5% Screen
        Background        : "White,LIGHT ORANGE"
        Key Color        : "Black, Cyan Blue"
        Color            : "Black, Nero Shadow"
        [#Form: LEDGER VOUCHERS]
            Add: ButtonS:LEDNARR
    
    
        [Report:LEDNARR]  
            Form:LEDNARR
            Object:Ledger:#LEDGERNAME
              
        [Form:LEDNARR]
            Part:LEDNARR1
        [Part:LEDNARR1]
            Line:LEDNARRs
        [#Part: LEDNotes]  
            Add:Line:At End:LEDNARRs
      
      [Line:LEDNARRs]
            Field       : Short Prompt, LEDNARRs
            Local       : Field: Short Prompt   : Setas : $$LocaleString:"NOTES:"
      [Field: LEDNARRs]
    
            Full Width    : Yes
            Max         : 250
            Storage     : LEDNARRs
            Invisible   : ##MVInMultiMode
    
    
    
    
    /*.........UDFs............*/                                      
    [System:UDF]
        LEDNARRs:String:1021
     
    Vashisth, psr and rajiv jaiswal like this.


  2. Bipin Damania

    Bipin Damania Active Member


    Too Good...
     


  3. MZMS

    MZMS New Member


    Sir
    Please guide how to use it.
    Regards
     


  4. Bipin Damania

    Bipin Damania Active Member


    Press Alt+F9 while viewing Ledger
     
    Last edited: Oct 12, 2021


  5. love

    love Member


    Press Alt+F9 while viewing Ledger OR press light orange Button with title "NARRATION" whichever suits you
     


  6. nasir

    nasir Member


    KINDLY GUDE ME IF I WANT TO PRINT IN LEDGER FORM
    WHAT CAN I HAVE TO DONE PLZZZ
     


  7. udaya

    udaya Active Member


    Nice.....
     
    love likes this.


  8. love

    love Member


    Mention the field in LV print form, at desired location
     


  9. nasir

    nasir Member



    KINDLY SEE ATTACH FILE
    I WANT THESE FIELD
     

    Attached Files:



  10. love

    love Member


    I quote a learned member of this forum " we are here to help you learn, you try it yourself we will guide you if you are stuck" , hope u follow this quote or otherwise pay somebody and get it done .
     
    Hems and Gagan Jyoti like this.


  11. nasir

    nasir Member


    THANKS FOR YOUR COMPLIMENTS

    I TRY TO CREATE A CODE I GOT SECCESS TO SHOW IN LEDGER DISPLY AS PER MY DESIRE
    BUT I WANT TO SHOWE ALOS IN LEGER AS PICTURE SHOWN IN MY LAST MESSAGE
    KINDLY NOW THIS IS U HAVE TO GUUDE ME HOW I CAN SHOE THESE FIRLDS OR OART IN MY LEDGER IN PORINT OUT
    CODE IS BELOW
    THANKS



    [#part : lv totals]
    Add:Line:at end:ledgernew

    [line:ledgernew]
    Fields:medium prompt,Led1,Simple Prompt,led2
    Local : Field : Medium Prompt:info:"Accountant General"
    Local : Field : Simple Prompt:info:"Finance Manager"



    [Field:led1]
    Use:name field
    Border:thin left right
    set as:"Nassir Rafique"
    Alter:LEDNARR
    Background: BLACK
    Color: WHITE
    Style: NORMAL BOLD

    [Field:led2]
    use:name field
    Border:thin left right
    set as:"Maqsood Ahmad"
    Alter:LEDNARR
    Background: BLACK
    Color: WHITE
    Style: NORMAL BOLD


    upload_2023-8-19_17-50-31.png
    THESE 2 FIELDS AND OTHER FIELD LIKE THIS I WANT TO PRINT ALSO
    KINDLY GUIDE ME PLZZZ
     


  12. love

    love Member


    now since you are on right track, keep on adding either 8 more fields in same line as per your requirement or to be precise you can add 2 more fields in same line and add 1 new line and 6 fields , that will give you desired result , get it done and revert ,we will move to next step
     


  13. nasir

    nasir Member


    [#part : lv totals]
    Add:Line:at end:ledgernew

    [line:ledgernew]
    Fields:medium prompt,Led1,Simple Prompt,led2
    Local : Field : Medium Prompt:info:"Accountant General"
    Local : Field : Simple Prompt:info:"Finance Manager"



    [Field:led1]
    Use:name field
    Border:thin left right
    set as:"Nassir Rafique"
    Background: BLACK
    Color: WHITE
    Style: NORMAL BOLD

    [Field:led2]
    use:name field
    Border:thin left right
    set as:"Maqsood Ahmad"
    Alter:LEDNARR
    Background: BLACK
    Color: WHITE
    Style: NORMAL BOLD





    =================for print===========
    [#Line: LV fcthree]
    Add :LEFT Field:AT END:SIGN1


    SPACE TOP:1
    Local : Field :DEFAULT:SET AS: ACCOUNTANT GENERAL


    Local : Field : Default: Style: normal Bold
    Local : Field : Default: Background: lily white
    Local : Field : Default: Color: Maroon


    [Field:SIGN1]
    USE:NAMW FIELD
    set as:"******************"
    Background: BLACK
    Color: WHITE
    Style: NORMAL BOLD



    upload_2023-8-22_19-32-8.png

    KINDLY SEE WHERE IS PROBLM PLEASE
     


  14. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Kindly do not make inconsequential remarks -- like : "Hi", "Hello" etc --- this unnecessary elongates the thread and has no relevance to the issue. Stick to the issues only.

    Also have patience, Members are not available 24/7 to reply -- majority are employed and busy and they will reply as and when they are able to. There is no need to POST unnecessary remarks/posts. Have patience and wait.
     


  15. nasir

    nasir Member


    ok sir i am totally quite
    let see when i will get my solution

    thanks
     


  16. nasir

    nasir Member


    SIR CAN ANY BODY MAKE CORRECTION PLZZZ
     


  17. love

    love Member


    lv screen.JPG [​IMG] [​IMG]
    this is what your code shows on LV Screen on my system , now what do you want
     


  18. nasir

    nasir Member


    =================for print===========
    [#Line: LV fcthree]
    Add :LEFT Field:AT END:SIGN1


    SPACE TOP:1
    Local : Field :DEFAULT:SET AS: ACCOUNTANT GENERAL


    Local : Field : Default: Style: normal Bold
    Local : Field : Default: Background: lily white
    Local : Field : Default: Color: Maroon


    [Field:SIGN1]
    USE:NAMW FIELD
    set as:"******************"
    Background: BLACK
    Color: WHITE
    Style: NORMAL BOLD



    [​IMG]


    KINDLY CHECK THIS PLZZZ
     


Share This Page