W
wallymeister
I have a database that I am updating w/ new Models. Got all the Models added
and then tried to run the report on these Models. Report uses Query2A which
uses Query1 linked to MESPROD_LINESE table. It asks for start date and end
date for the report. Since I added the new models, when I run the report, I
get {Expression typed incorrect or too complicated] error message. Query1
runs by itself fine though.
Here is the SQL for Query2A of the Report. (it all worked fine before)
SELECT MESPROD_LINESE.[Line Number], MESPROD_LINESE.[Release Number],
MESPROD_LINESE.[Model Number], MESPROD_LINESE.Quantity, MESPROD_LINESE.[Run
Date], MESPROD_LINESE.[Seq Number], Query1.[Order Index], Query1.[Check Item
Index], Query1.AssyName, Query1.PartName, Query1.PartNum, Query1.Casing,
Query1.Cells, Query1.[Lo-Nox], Query1.ModelType, Query1.Door, Query1.Note,
Query1.Shaded, Query1.Comments, Query1.QE, Query1.FormName, Query1.FormRev,
Query1.SeriesRev, Left([ModelType],InStr(1,[ModelType]," ")) & "- " & [Door]
& " DOOR" AS DoorDesc, Query1.FormRevDate, Query1.ModelRev, Query1.[Component
Rev], Query1.QtyPer, Query1.BlowerCap, Query1.[Btu's]
FROM Query1 INNER JOIN MESPROD_LINESE ON Query1.MODNUM =
MESPROD_LINESE.[Model Number]
WHERE (((MESPROD_LINESE.[Line Number])="7128A" Or (MESPROD_LINESE.[Line
Number])="7128B") AND ((MESPROD_LINESE.[Run Date]) Between [Type the
beginning date:] And [Type the ending date:]))
ORDER BY MESPROD_LINESE.[Seq Number], Query1.[Order Index], Query1.[Check
Item Index];
From searching the forums;
I tried using CDATE([Type the beginning date:]) And CDATE([Type the ending
date:]) but it made no difference.
Any help is greatly appreciated!
Wally
and then tried to run the report on these Models. Report uses Query2A which
uses Query1 linked to MESPROD_LINESE table. It asks for start date and end
date for the report. Since I added the new models, when I run the report, I
get {Expression typed incorrect or too complicated] error message. Query1
runs by itself fine though.
Here is the SQL for Query2A of the Report. (it all worked fine before)
SELECT MESPROD_LINESE.[Line Number], MESPROD_LINESE.[Release Number],
MESPROD_LINESE.[Model Number], MESPROD_LINESE.Quantity, MESPROD_LINESE.[Run
Date], MESPROD_LINESE.[Seq Number], Query1.[Order Index], Query1.[Check Item
Index], Query1.AssyName, Query1.PartName, Query1.PartNum, Query1.Casing,
Query1.Cells, Query1.[Lo-Nox], Query1.ModelType, Query1.Door, Query1.Note,
Query1.Shaded, Query1.Comments, Query1.QE, Query1.FormName, Query1.FormRev,
Query1.SeriesRev, Left([ModelType],InStr(1,[ModelType]," ")) & "- " & [Door]
& " DOOR" AS DoorDesc, Query1.FormRevDate, Query1.ModelRev, Query1.[Component
Rev], Query1.QtyPer, Query1.BlowerCap, Query1.[Btu's]
FROM Query1 INNER JOIN MESPROD_LINESE ON Query1.MODNUM =
MESPROD_LINESE.[Model Number]
WHERE (((MESPROD_LINESE.[Line Number])="7128A" Or (MESPROD_LINESE.[Line
Number])="7128B") AND ((MESPROD_LINESE.[Run Date]) Between [Type the
beginning date:] And [Type the ending date:]))
ORDER BY MESPROD_LINESE.[Seq Number], Query1.[Order Index], Query1.[Check
Item Index];
From searching the forums;
I tried using CDATE([Type the beginning date:]) And CDATE([Type the ending
date:]) but it made no difference.
Any help is greatly appreciated!
Wally