Hi, I have a script with filemkaer script.Before updating to version 16 worked, now this feature exits the loop even if the data is visibly corrected to stay in the loop.
I attach an exampleWhy?
$Count >= $Numero0rdini
Will be true with the values shown if the two values are text rather than number. Try this to see if it fixed the issue:
GetasNumber ( $Count ) >= Getasnumber ( $Numero0rdini )
HelloWith "get as number" works. But why?That is, since it worked up to 4 days ago and now wants the number specification?I have to change all scripts where I send the information I imagine,thank you
variables use "implicit data typing". Something as changed that leaves it typed as text rather than number in terms of how the value in the variable is stored.
Implicit Typing examples:
Set Variable [$A ; $A + 5 ]
$A will be of type number
Set Variable [$A ; Table::DateField ]
$A will be of type date
On the other hand,
Set Variable [$A ; Get ( ScriptParameter ) ]
$A will be text even if the parameter that as passed was entered as a number in the parameter box or comes from a field of type number.
Frankly, I'd prefer that FileMaker required explicit data typing so that we can avoid such confusion, but it's not an option in current versions of the product.
Perfect thank you very much!
Retrieving data ...