Results 1 to 1 of 1
  1. #1
    selahlynch is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2010
    Posts
    2

    Is it possible to use a crosstab quey as a subquery?

    Question...


    Is it possible to use a crosstab query as a subquery?

    I'm trying to do the following:

    Code:
    SELECT * FROM 
    (TRANSFORM Max(Expirations.DateRequired) AS MaxOfDateRequired
    SELECT Expirations.EmpID
    FROM Expirations
    GROUP BY Expirations.EmpID
    PIVOT Expirations.EventID) as Xtab
    But I get an error "Syntax error in FROM clause."
    Last edited by selahlynch; 01-16-2010 at 12:53 AM. Reason: wrong position for code tags

Please reply to this thread with any new information or opinions.

Similar Threads

  1. SQL Subquery on Previous Record
    By GoVols02 in forum Queries
    Replies: 1
    Last Post: 01-05-2010, 02:40 PM
  2. Need help with parameter quey
    By toptech in forum Queries
    Replies: 0
    Last Post: 10-22-2009, 05:20 PM
  3. Replies: 2
    Last Post: 05-27-2009, 08:47 PM
  4. Problem with subquery
    By bakerdenn in forum Queries
    Replies: 1
    Last Post: 04-24-2009, 10:37 PM
  5. Subquery returns Memo
    By Brainmart in forum Queries
    Replies: 0
    Last Post: 03-09-2009, 07:32 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums