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
Press Alt+F9 while viewing Ledger OR press light orange Button with title "NARRATION" whichever suits you
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 .
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 THESE 2 FIELDS AND OTHER FIELD LIKE THIS I WANT TO PRINT ALSO KINDLY GUIDE ME PLZZZ
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
[#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 EFAULT: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 KINDLY SEE WHERE IS PROBLM PLEASE
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.
=================for print=========== [#Line: LV fcthree] Add :LEFT Field:AT END:SIGN1 SPACE TOP:1 Local : Field EFAULT: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 KINDLY CHECK THIS PLZZZ