I have a query that looks at a project milestone table.
The query assigns a value to each Milestone (ie MS 1, MS 2 etc). There are a max of 4 Milestones on each project.
SELECT Table1.Project, Table1.MS_Date, (SELECT "MS " & Count(*)
From Table1 N WHERE N.Project = Table1.Project And n.MS_Date <= Table1.MS_Date) AS MS
FROM Table1;
When I create the coss tab based on above I receive "does not recognize "Table1.Project" message.
TRANSFORM Last(qry_MS_Title.MS_Date) AS LastOfMS_Date
SELECT qry_MS_Title.Project
FROM qry_MS_Title
GROUP BY qry_MS_Title.Project
PIVOT qry_MS_Title.MS;
If I use 'make table query' and then make cross tab from table, it works fine.
I tried inserting parameters before the TRANSFORM - but I am now out of my depth.
Advice much appreciated.
The query assigns a value to each Milestone (ie MS 1, MS 2 etc). There are a max of 4 Milestones on each project.
SELECT Table1.Project, Table1.MS_Date, (SELECT "MS " & Count(*)
From Table1 N WHERE N.Project = Table1.Project And n.MS_Date <= Table1.MS_Date) AS MS
FROM Table1;
When I create the coss tab based on above I receive "does not recognize "Table1.Project" message.
TRANSFORM Last(qry_MS_Title.MS_Date) AS LastOfMS_Date
SELECT qry_MS_Title.Project
FROM qry_MS_Title
GROUP BY qry_MS_Title.Project
PIVOT qry_MS_Title.MS;
If I use 'make table query' and then make cross tab from table, it works fine.
I tried inserting parameters before the TRANSFORM - but I am now out of my depth.
Advice much appreciated.