This is really odd.
I have the following simple query, MetricsExcellentSellers, which is run against a table called [Selling Flavors]:
SELECT [Selling Flavors].GroupCode, [Selling Flavors].Customer, [Selling Flavors].TotalSales, [Selling Flavors].SalesClass
FROM [Selling Flavors]
WHERE ((([Selling Flavors].SalesClass)="Excellent Seller"));
When a button is clicked, this query is run and the results are diplayed in a subform with the following Source Object: Query.MetricsExcellentSellers
The query works just fine for a short while. The problem is that if I shut down the entire application, whenever I reopen the application, clicking the button tries to run the query but there is no SQL in the query anymore. It just disappears at random times. The query is not updated via a form. Its just a hard coded query that never changes.
I have no idea what could cause this. I am using WinXP SP2 for whatever that is worth with Access 2002.
Thanks for any insight.