best method to replace findvalue

Hello, friends

I need to find if the value with which I have modified my form field can be found in forms datasource. At the moment I use findValue, however in the warnings screen I get the message that this method has been depreciated. Additionally, maybe there is more appropriate method from the resource management point of view (less queries?). Any suggestions would be appreciated.

Best regards,