Adding " Problem

Discussion in 'Tally Developer' started by Gangadhar C Beldar, Jul 12, 2023.

    

  1. How to complete printing QR Code :

    Code : find in the attachment

    UPI ID : is stored in the UDF ($UdfUpiID:Company:##SVCurrentCompany )
    UPI Name : is stored in the UDF ($UdfUpiID:Company:##SVCurrentCompany)

    How to get /set the below;

    QR code : "upi://pay?pa=9000190001@SBI&pn=KKEntp"

    Tried with below logic
    LocQR1 : "upi://pay?pa="
    LocQR2 : $UdfUpiID:Company:##SVCurrentCompany
    LocQR3 : "&pn="
    LocQR3 : $UdfUpiDisplayName:Company:##SVCurrentCompany
     

    Attached Files:

    • UPI.txt
      File size:
      437 bytes
      Views:
      1


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Explain clearly --- you need to display double quote -- or is it a arithmetic query ??
     



  3. How to Get the below
    QR code : "upi://pay?pa=9000190001@SBI&pn=KKEntp"


    Tried with below logic
    LocQR1 : "upi://pay?pa="
    LocQR2 : $UdfUpiID:Company:##SVCurrentCompany = 9000190001
    LocQR3 : "&pn="
    LocQR3 : $UdfUpiDisplayName:Company:##SVCurrentCompany = KKEntp
    by using
    QR Code : @LocQR1 + @LocQR2 + @LocQR3 + @LocQR4
    Unable to Add " before ("upi://pay?pa) and
    After (&pn=)

    Required is QR Code : """ + @LocQR1 + @LocQR2 + @LocQR3 + @LocQR4 + """
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Code:
    [system : formula]
    QRcode : '"' + $$String:@@LocQR1 + $$String:@@LocQR2 + @@LocQR3 + @@LocQR4 + '"'
    
    
    LocQR1 : "upi://pay?pa="
    LocQR2 : 9000190001 ;$UdfUpiID:Company:##SVCurrentCompany = 9000190001
    LocQR3 : "&pn="
    LocQR4 : KKEntp ;$UdfUpiDisplayName:Company:##SVCurrentCompany = KKEntp
    
    Capture.PNG
     



  5. Good Morning Sir,
    Sorry, for Not Mentioning Clearly about the Problem.

    How make the below equation
    QR code : "upi://pay?pa=9000190001@SBI&pn=KKEntp"

    Which contains two Variables
    1. UPI ID 2. UPI Name (in this case ID : 9000190001@SBI and Name : KKEntp)
    With to fixed strings
    1. upi://pay?pa= 2. &pn=KKEntp

    How to archive the equation
    QR code : "upi://pay?pa=9000190001@SBI&pn=KKEntp"

    Hope I am clear this time.
    For reference the below part working fine
    [Part: VbUpiQr]
    QR code : "upi://pay?pa=9000190001@SBI&pn=KKEntp"
    Line : VB UpiInfo
    Width : 15% Page
    Height : 15% Page
    Horizontal Align : Center

    [Line: VB UpiInfo]
    Field : Info Field
     



  6. @Amit Kamdar
    Thanks Sir


    The Attached PART is working Fine to Print in UPI QR Code
     

    Attached Files:

    • xx.txt
      File size:
      833 bytes
      Views:
      19


Share This Page