>Hi,
>
>This is my first use of ttod() function, when running form with normal “do form“ the function works ok and don’t have any problem. But when convert the form to .EXE I have an error "Function argument value, type, or count is invalid" the field is a MS SQL server datetime the statement as follows:-
>
>thisform.text1.value = ttod(tdate)
Maybe it's an impossible date or null. For the latter case
thisform.text1.value = ttod(nvl(tdate, { :})