Thank you for your post.
Without seeing your file, it is difficult to determine why this is failing.
Try putting the "Count" into a variable. Also, since "Form 2::Easting" is going to be the "Count" regardless of the condition, set the value outside the condition. Thirdly, if the condition is true, there is no reason to evaluate it again for Form 2::UTM Zone since you know the result. For example:
Set Variable [ $count ; Count ( OpeningID::OpeningIDNumber ) ]
Set Field [ Form 2::Easting ; $count ]
If [ Form 2::IdentifierType ≠ "OpeningID" or (Form 2::IdentifierType = "Opening ID" and $count > 0 ) ]
Set Field [ Form 2::UTM Zone; 1 ]
Set Field [ Form 2::Northing ; 4 ]
Set Field [ Form 2::UTM Zone ; 0 ]
Set Field [ Form 2::Northing ; 5 ]
Set Field [ Form 2::Opening ID ; "" ]
Show Custom Dialog [ .....
If you are still getting a "?" for Form 2::Easting, is it happening for all records that don't have related records?
There is indeed a difference in processing between OS X and iOS, however it is different than I thought.
Problem Solved: Although there is still a difference between OS X and iOS functionality.
Turns out the the secondary table in the relationship had Opening ID defined as a number while the
primary table in the relationship had the related field, Opening ID as a text field.
Count works on OS X when this is the case but does not work on iOS when this is the case.
When I change Opening ID in the secondary table to a text field, Count then works on iOS.
Thank you for your response, it made me think this through a little differently.