Hello everybody,
i do have the following if then condition:
in my inmediate window i checked the value of the DataM control, and it returns nothing, i also tested the lenght with :
len(Forms![frmMagicCont]![Procura de Documentos].[Form]![DataM])
and it returns 0
so why, when running the if condition, the code goes to the line a=1
Any toughts about this ?
i do have the following if then condition:
Code:
If Not IsNull(Forms![frmMagicCont]![Procura de Documentos].[Form]![DataM]) Then
a=1
else
a=2
end if
in my inmediate window i checked the value of the DataM control, and it returns nothing, i also tested the lenght with :
len(Forms![frmMagicCont]![Procura de Documentos].[Form]![DataM])
and it returns 0
so why, when running the if condition, the code goes to the line a=1
Any toughts about this ?