>How can I use if in only a line, as below
>
>On error "if error() = 1 do form1"
iif(error()=1, execsript('do form1'),"") && Though this may not work since the form1 would not be visible by execscript...
If it's not broken, fix it until it is.
My Blog