AnsweredAssumed Answered

Get (LastError)

Question asked by smfdist on Sep 13, 2016
Latest reply on Sep 14, 2016 by David Moyer

Using FM15 (on pc)

 

Problem with this function in a script:

Table 1 related to Table 2 (1 to many)

 

Script as follows does NOT work (it always selects as true even if error code is 101)

If(Get(LastError)) = 0

show custom dialogue1

Else

show different dialogue2

Endif

 

Script as follows does WORK

Set variable($le = Get(LastError))

If($le) = 0

show custom dialogue1

Else

show different dialogue2

Endif

 

This does not make any sense.

Outcomes