Omit Multiple Breaks in WD
Operating system version
Windows Server 2008 R2
Description of the issue
A script that tests for platform, finds the found count, and omits > 25 completes on a desktop client and fails in WD. The server incorrectly calculates how many records to omit.
Steps to reproduce the problem
Set Variable[$Param; Get(ScriptParameter)
Go to Layout[Layoutname by calculation: $Param & " List"]
If[$$Platform = 4]
Set Variable[$FC; Get(FoundCount)]
If[$FC > 25]
OmitMultipleRecords[No dialog; GetAsNumber($FC) - 25]
Only 25 records will be displayed.
While the number of displayed records is less than the starting FC, the number is inconsistent and much closer to the original FC than to 25. Out of an original record count/found count of 206, the displayed count starts around 196 and seems to decrement with each pass, unless I show all records in between, in which case the result varies.
Safari 6.1 on 10.8.5, Chrome 31.0 on 10.9