How to use "Like" operator in the QueryBuildRange.Value


To make something as the "LIKE" operator in a query,  you should just assign a value to the queryRange including a wildcard.

The query framework will then change the statement into a LIKE statement. If the value does not contain a wildchard the query framework will change the statement to ==.

.here qbr.valu("!P*,C*"); will come letter not start with C,P letters
if we use qbr.value("P*,C*") will get particular values start with P,c letter..



Using NOT LIKE in X++ select statements and query ranges


source:http://basicax.blogspot.com/2014/08/using-not-like-in-x-select-statements.html

Comments

Popular posts from this blog