Quantcast
Channel: Microsoft Dynamics GP
Viewing all articles
Browse latest Browse all 59474

Forum Post: Help with query.additionalcriteria

$
0
0

I am building an IM script that will query my source file to pull all the records that start with a 3-letter criteria.  I am using the following script in the before query section (for the source file):

Query.AdditionalCriteria = "[Fund Number] = '" & Left([Fund Number],3)="Nag" & "'"

FYI, Fund Number in the script above refers to the column within my source file that needs to be analyzed using the 3-letter criteria. 

The query returns zero records and the script stops.  Am I using the correct script?  Is there any other way to accomplish the same result. Any help would be highly appreciated.


Viewing all articles
Browse latest Browse all 59474

Trending Articles



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