I am trying to manipulate this to work a little bit different like so,
Code: Select all
on closeField
if fld "field2" is empty then
focus on fld "field2"
else
if fld "field3" is empty then
focus on fld "field3"
else
if fld "field4" is empty then
focus on fld "field4"
else
focus on fld "field5"
end if
end if
end if
end closeField
Does anyone have any other Ideas for me that wight work.