C
Charles D Clayton Jr
I am getting an error and I do not understand why. The error is "Jet
does not recognize '[Document Control].Iso' as a valid field name or
expression. I have two queries. The first is a select and it runs
fine. Here is the SQL of it:
SELECT DISTINCT [Document Control].Iso, Right([iso],6) AS Line,
[Document Control].Rev, [Document Control].Sheet
FROM [Document Control]
WHERE ((([Document Control].Rev)=(SELECT last([rev]) from [Document
Control] as X WHERE X.iso = [Document Control].Iso)))
GROUP BY [Document Control].Iso, Right([iso],6), [Document
Control].Rev, [Document Control].Sheet;
It gives me a list of drawings and the latest rev. I then make a
crosstab based on that query which looks like this:
TRANSFORM Count([Question - Query].Iso) AS CountOfIso
SELECT [Question - Query].Line, Count([Question - Query].Iso) AS
[Total Of Iso]
FROM [Question - Query]
GROUP BY [Question - Query].Line
PIVOT [Question - Query].Rev;
This one is supposed to organize everything by the line number and
show me what revisions are in each line number as well as how many
drawings. But it gives me the error about the field "Iso" in the
table "Document Control." I have plenty of other crosstabs in the
Database that work fine as well as other types of queries. I have
tried removing various elements to see if I can discover the problem
but to no avail. Does anybody have any suggestions?
Thanks,
Charles D Clayton Jr
does not recognize '[Document Control].Iso' as a valid field name or
expression. I have two queries. The first is a select and it runs
fine. Here is the SQL of it:
SELECT DISTINCT [Document Control].Iso, Right([iso],6) AS Line,
[Document Control].Rev, [Document Control].Sheet
FROM [Document Control]
WHERE ((([Document Control].Rev)=(SELECT last([rev]) from [Document
Control] as X WHERE X.iso = [Document Control].Iso)))
GROUP BY [Document Control].Iso, Right([iso],6), [Document
Control].Rev, [Document Control].Sheet;
It gives me a list of drawings and the latest rev. I then make a
crosstab based on that query which looks like this:
TRANSFORM Count([Question - Query].Iso) AS CountOfIso
SELECT [Question - Query].Line, Count([Question - Query].Iso) AS
[Total Of Iso]
FROM [Question - Query]
GROUP BY [Question - Query].Line
PIVOT [Question - Query].Rev;
This one is supposed to organize everything by the line number and
show me what revisions are in each line number as well as how many
drawings. But it gives me the error about the field "Iso" in the
table "Document Control." I have plenty of other crosstabs in the
Database that work fine as well as other types of queries. I have
tried removing various elements to see if I can discover the problem
but to no avail. Does anybody have any suggestions?
Thanks,
Charles D Clayton Jr