on 03-03-2017 8:19 AM
Good Day,
Please help me expert I cant show the transaction base on my parameter when the customer code has a single qoute like C_Samantha's
this is my parameter:
Reference@ Select JDT1.Ref1 From JDT1 where (JDT1.Shortname='@Customer') and ( (JDT1.BalDueDeb - JDT1.BalDueCred)<>0)
Thanks
Hello,
Update your parameter with following
Reference@ Select JDT1.Ref1 From JDT1 where (REPLACE(JDT1.Shortname,'''','') =REPLACE('@Customer','''','')) and ( (JDT1.BalDueDeb - JDT1.BalDueCred)<>0)
Thanks
Regards,
Engr. Taseeb Saeed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In general it is not recommended to use single or double quotes in identifier type fields (CardCode, CardName, ItemCode, ItemName, etc). If necessary try to use accents instead: ´´. Looks the same but does not cause problems in queries, Crystal Reports, and on web pages.
Regards,
´Johan´
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could try removing '
Replace(JDT1.Shortname, "'","")
Ian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.