FUNCTION LASTVAL does not exist

Do you have any idea about this error?

Captura de pantalla 2024-02-16 100911

It happens with the DOCUMENT TYPE field when registering multiple BLOB files, in a control type form