I have what seems to be a very strange problem. I have a query with the following SQL statement:
I know this query is not updatable, I am not trying to update it. But when I run this query I usually get a message that says Invalid Operation, this recordset is not updatable. But this does not always happen, some times it works, but usually I get the error message. The really strange part (to me at least) is that I have 3 other queries that this query is in and they all work fine. If this query does not run, how can it run inside another query? More to the point, why am I getting the error message at all?
Does anyone have any suggestions on what may be causing this problem?
C. Johnson
Code:
SELECT [team schedule].MO_NUMBER, [team schedule].ITEM, [team schedule].TEAM, [team schedule].SCHED_DATE, [team schedule].ORDER_QTY, [team schedule].WC, [team schedule].[CUSTOMER NUMBER], [team schedule].ESTHRS, ActualQuery.WC, ActualQuery.STAT_FLAG
FROM [team schedule] LEFT JOIN ActualQuery ON ([team schedule].MO_NUMBER=ActualQuery.MO_Number) AND ([team schedule].WC=ActualQuery.WC)
WHERE (((actualquery.WC='1st end' And ActualQuery.STAT_FLAG='FINISHED')=False)) Or (((ActualQuery.WC) Is Null));
I know this query is not updatable, I am not trying to update it. But when I run this query I usually get a message that says Invalid Operation, this recordset is not updatable. But this does not always happen, some times it works, but usually I get the error message. The really strange part (to me at least) is that I have 3 other queries that this query is in and they all work fine. If this query does not run, how can it run inside another query? More to the point, why am I getting the error message at all?
Does anyone have any suggestions on what may be causing this problem?
C. Johnson