Quantcast
Viewing all articles
Browse latest Browse all 3510

Omit Multiple Breaks in WD (1 Comment)

Issue report by Datagrace

Product

FileMaker Server

Version

13

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]
End If
End If

Expected result

Only 25 records will be displayed.

Actual result

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.

Configuration information

Safari 6.1 on 10.8.5, Chrome 31.0 on 10.9

Viewing all articles
Browse latest Browse all 3510

Trending Articles