Hi All.
To save record I check form fields if they are empty or greater then zero.
Both txtTicketNo and txtAmount are numeric fields. But error messageCode:If Len(Trim(Me.txtTicketNo)) > 0 Then !TicketNo = Me.txtTicketNo End If If Len(Trim(Me.txtAmount)) > 0 Then !Amount = Me.txtAmount End If
popup only for line !TicketNo = Me.txtTicketNo. How to fix the problem?
Thanks