It's a difficult question because I'm not sure how to explain it ! Hopefully the answer is simple.
I have a form. On the form is a line. The angle of the line is altered depending on a value in a table. This gives the effect of a gauge (when a scale is added behind the line). In order for it to look a bit more professional I have included an expression with a do until loop with a pause which increments the angle by a few degrees until the final value is reached. When I switch from design view to form view this works perfectly.
However, when I open the form via an autoexec (or anyother way for that matter, the form opens with the line already in the final position. The user doesn't get to see the moving pointer. I've tried putting the expression in OnOpen, OnLoad, On Activate, OnCurrent but none of them work.
Can anyone help ?
I have a form. On the form is a line. The angle of the line is altered depending on a value in a table. This gives the effect of a gauge (when a scale is added behind the line). In order for it to look a bit more professional I have included an expression with a do until loop with a pause which increments the angle by a few degrees until the final value is reached. When I switch from design view to form view this works perfectly.
However, when I open the form via an autoexec (or anyother way for that matter, the form opens with the line already in the final position. The user doesn't get to see the moving pointer. I've tried putting the expression in OnOpen, OnLoad, On Activate, OnCurrent but none of them work.
Can anyone help ?