ulteriormotif
Technical User
Going a little nuts here (nothing new in that). I'm getting the following error message after I try to run one of my queries.
"This action will reset the current code in break mode
Do you want to stop running the code?
To halt the execution of the program so the Module window can be closed, select Yes.
To leave the code in the current state, select No. "
It's just a garden variety query just used to tell me whether a production target has been entered for a particular block of land.
SELECT [U - blocks subblocks currentseason].[Property ID], [U - blocks subblocks currentseason].[Block ID], [U - blocks subblocks currentseason].[SubBlock ID], [U - blocks subblocks currentseason].Currentseason, [DAT - production targets].blockid, IIf([dat - production targets]![blockid] Is Null,"NO","yes") AS [Target set]
FROM [U - blocks subblocks currentseason] LEFT JOIN [DAT - production targets] ON ([U - blocks subblocks currentseason].[SubBlock ID] = [DAT - production targets].blockid) AND ([U - blocks subblocks currentseason].Currentseason = [DAT - production targets].Season);
Here's the rub. The query itself won't run (although it was fine yesterday when I built it). I can open it in design view, but trying to run it does nothing at all. BUT, after trying to run it, I get the message above on any other queries that I run when I try to close them, and the same message on forms when I try to close them.
I've compacted and repaired. I've rebooted. No luck.
What am I missing here?
"This action will reset the current code in break mode
Do you want to stop running the code?
To halt the execution of the program so the Module window can be closed, select Yes.
To leave the code in the current state, select No. "
It's just a garden variety query just used to tell me whether a production target has been entered for a particular block of land.
SELECT [U - blocks subblocks currentseason].[Property ID], [U - blocks subblocks currentseason].[Block ID], [U - blocks subblocks currentseason].[SubBlock ID], [U - blocks subblocks currentseason].Currentseason, [DAT - production targets].blockid, IIf([dat - production targets]![blockid] Is Null,"NO","yes") AS [Target set]
FROM [U - blocks subblocks currentseason] LEFT JOIN [DAT - production targets] ON ([U - blocks subblocks currentseason].[SubBlock ID] = [DAT - production targets].blockid) AND ([U - blocks subblocks currentseason].Currentseason = [DAT - production targets].Season);
Here's the rub. The query itself won't run (although it was fine yesterday when I built it). I can open it in design view, but trying to run it does nothing at all. BUT, after trying to run it, I get the message above on any other queries that I run when I try to close them, and the same message on forms when I try to close them.
I've compacted and repaired. I've rebooted. No luck.
What am I missing here?