Quantcast
Channel: Sage 100
Viewing all articles
Browse latest Browse all 36993

Forum Post: RE: Slow running script for Price Code record search

$
0
0
The line:    retvalBrowse = oPriceCode.SetBrowseFilter(PriceDiv&PriceCust) Should be: retvalBrowse = oPriceCode.SetBrowseFilter(Div&Cust) You get the current division and customer number into the variables Div and Cust.  PriceDiv and PriceCust would not have a value so you are setting the filter to a null value and then the MoveFirst() is starting at the first record in the table every time.

Viewing all articles
Browse latest Browse all 36993

Trending Articles



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