>I have code that is failing for Form submitted with a series of database table backed Textbox fields.
>
>It is failing on check for length of 0 on field that has Date type table field as data source:
>
>IF(LEN(ALLTRIM(Thisform.cntnrLarDates.txtLar_datercv.Value))=0)
> =MESSAGEBOX("You must enter LAR Dates - Date Received"+CHR(13)+;
> "Press Save again after entering it.",d_nExclamation+d_nOkbutton,"LAR - Required Fields")
> Thisform.cntnrLarDates.txtLar_datercv.SetFocus()
> RETURN
>ENDIF
>
>Control source for txtLar_datercv is: dd_lar.lr_recdate (Date type field)
>
>
>Error is:
>
>Function argument value, type, or count is invalid.
>
>Error triggered on IF statement shown above.
>
>F.Z. - Boston MA
IF (empty(Thisform.cntnrLarDates.txtLar_datercv.Value))
or :
if empty(dd_lar.lr_recdate)
Cetin