Check for null in form control

Hi.
I’m doing a routine where dates are extracted from Date Controls to compose a filter.
How to check for null in the controls avoiding (of course) the Exception?

Thanks in advance!


Captura de tela 2025-07-10 135303

Haven’t tested, but isn’t there property text for data controls? So
IF oDFS.Text <> "" THEN ds = oDFS.Date
would help.