Hi Viv,
>Anyone know what can cause this and/or how to avoid (apart from try/catch of course)
INKEY() sends VFP into an idle loop in which it runs the garbage collector as well as evaluates RowSources and ControlSources. You would also get an error if you have an ON KEY LABEL statements that are triggered. Code in timers runs, too.
--
Christof