Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

Powerbuilder Find function populates "Expression not Valid"

$
0
0

Hi,

 

I am using find function in my program which is populsting expression not valid.

The data which the application trying to find has the characters " and '.

The expression used in the programs is as follows.

dw_1.setfilter("bno like '%" + ls_value + "%'")

 

The "ls_value" variable has values [This is 'Yes' or "No"] both characters ' & " is present in the data. Please let me know how to rewrite the expression sothat I can avoide the error message.

 

Any help is appreciated.

 

Thanks & Regards

Babin  A B


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>