Hi,
In order to process a count, each line has to be 'verified'. If you're moving 1500 items, you certainly do not want to check every line's 'verified' box for items that have zero quantities. Thinking a little bit more about this and the quantity of items you're dealing with, I think a macro may be a better answer for you. The stock count entry displays 9 rows, so your macro would need to count down rows 1 through 9 and then every line would be line 9 after that. You really only need to record a couple of items just so you can see how it repeats. Then you would use the Mail-Merge technique to read the database items and check all of the boxes. I created one for TWO and it looked like this for the first 12 items:
# DEXVERSION=14.00.0085.000 2 2
CheckActiveWin dictionary 'default' form ivStockCountEntry window ivStockCountEntry
# Key 1:
MoveTo line 1 scrollwin LineScroll field '(L) Count Verified' # 'FALSE'
# Key 1: 'WAREHOUSE', '', '1-A3261A'
ClickHit line 1 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
# Key 1: 'WAREHOUSE', '', '1-A3261A'
MoveTo line 2 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
# Key 1: 'WAREHOUSE', '', '1-A3483A'
ClickHit line 2 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
# Key 1: 'WAREHOUSE', '', '1-A3483A'
MoveTo line 3 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
# Key 1: 'WAREHOUSE', '', '128 SDRAM'
ClickHit line 3 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
# Key 1: 'WAREHOUSE', '', '128 SDRAM'
MoveTo line 4 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
# Key 1: 'WAREHOUSE', '', '1GPROC'
ClickHit line 4 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
# Key 1: 'WAREHOUSE', '', '1GPROC'
MoveTo line 5 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
# Key 1: 'WAREHOUSE', '', '2-A3284A'
ClickHit line 5 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
# Key 1: 'WAREHOUSE', '', '2-A3284A'
MoveTo line 6 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
# Key 1: 'WAREHOUSE', '', '24X IDE'
ClickHit line 6 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
# Key 1: 'WAREHOUSE', '', '24X IDE'
MoveTo line 7 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
# Key 1: 'WAREHOUSE', '', '256 SDRAM'
ClickHit line 7 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
# Key 1: 'WAREHOUSE', '', '256 SDRAM'
MoveTo line 8 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
# Key 1: 'WAREHOUSE', '', '2GPROC'
ClickHit line 8 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
# Key 1: 'WAREHOUSE', '', '2GPROC'
MoveTo line 9 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
# Key 1: 'WAREHOUSE', '', '3-A2440A'
ClickHit line 9 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
ScrollByLine down scrollwin LineScroll
# Key 1: 'WAREHOUSE', '', '3-A2440A'
MoveTo line 9 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
# Key 1: 'WAREHOUSE', '', '3-A2969A'
ClickHit line 9 scrollwin LineScroll field '(L) Count Verified' # 'TRUE'
ScrollByLine down scrollwin LineScroll
Notice how when you hit line 9, another line is added to the macro which is:
ScrollByLine down scrollwin LineScroll
Put the ShowAdvancedMacroMenu=TRUE in your Dex.ini file and then check the box 'No User Interface Flash' in the Status window to double the speed of the macro.
Kind regards,
Leslie