I have a funny
I display a form (and sub form). The form displays summed totals from the subform. This used to work no problem at all. I now get #error in most of the fields except one that now says #type!. On investigation I went into design view and then back to form view where I get an error message stating The expression On Load you entered as the event property setting produced the following error: Return without GoSub. After I click OK I get my form up but still with the above errors
Now the funny bit. If I display the form and then go to database tools, visual basic and add any watch even if the watch doesn't exist then when I go into design view and then back to form view I don't get the error message and all of my fields now work.
I can exit the form and go back in and everything is OK. If I close the database down and then go back to the form I get the original problem from above.
Any geniuses out there that can help will be most welcome as this is driving me to drink!
I display a form (and sub form). The form displays summed totals from the subform. This used to work no problem at all. I now get #error in most of the fields except one that now says #type!. On investigation I went into design view and then back to form view where I get an error message stating The expression On Load you entered as the event property setting produced the following error: Return without GoSub. After I click OK I get my form up but still with the above errors
Now the funny bit. If I display the form and then go to database tools, visual basic and add any watch even if the watch doesn't exist then when I go into design view and then back to form view I don't get the error message and all of my fields now work.
I can exit the form and go back in and everything is OK. If I close the database down and then go back to the form I get the original problem from above.
Any geniuses out there that can help will be most welcome as this is driving me to drink!