I have been dragged out of retirement to write a simple accounts package for a local charity and am realising how much I have forgotten.
The main data entry screen has the usual clutch of controls - a grid, textboxes, combos, etc. All the controls are on the form and as I set each one up I run the app to check for bugs and typos. I am starting to get some odd behaviour, I have an option group with 2 options. The Interactive Change method has some code which sets the active page of a pageframe as shown below:
ThisForm.pgfIncExp.ActivePage = This.Value ThisForm.Refresh
It has been working fine for a couple of days but suddenly if I select Option 2 from Option 1 I get an error message which says that ThisForm.Refresh is not a recognised command but selecting the other way, which runs the same code, doesn't give an error. I have started saving a copy of the form after each successful run and find if I replace the SCX and SCT files with the earlier version the problem goes away for a while then reappears.
Has anyone come across anything similar?
John
John Weller 01380 723235 07976 393631