G
Guest
Hi,
I would like to limit the input of a textbox to the smallest and biggest
date occuring in my query. I'm trying to accomplish this with setting the
validation rule using VB.
Text12.ValidationRule = ">= #" & mindate & "# And <= #" & maxdate & "#"
Strange enough, only for the second part (maxdate) in the properties box for
this textbox, the days and months are inversed displaying 4 jan as 01-04
instead om 04-01.
I checked all settings and i'm sure that maxdate contains 04-01 as value
that is passed on by the VB-code towards the validationrule property.
I would like to limit the input of a textbox to the smallest and biggest
date occuring in my query. I'm trying to accomplish this with setting the
validation rule using VB.
Text12.ValidationRule = ">= #" & mindate & "# And <= #" & maxdate & "#"
Strange enough, only for the second part (maxdate) in the properties box for
this textbox, the days and months are inversed displaying 4 jan as 01-04
instead om 04-01.
I checked all settings and i'm sure that maxdate contains 04-01 as value
that is passed on by the VB-code towards the validationrule property.