Results 1 to 3 of 3

Thread: Syntax Error

  1. #1
    Join Date
    May 2008
    Posts
    2

    Unanswered: Syntax Error

    Hi

    Can someone please help me with the syntax error i am currently receiving

    SequenceCounter: (SELECT (SELECT COUNT(*) FROM tblSchedulePayments Q1
    WHERE Q1.[feeType] = Q.[feeType] AND Q1.leaseID = Q.leaseID AND
    AND Q1.startDate < Q.startDate FROM tblSchedulePayments AS Q))

    Thanks Brad

  2. #2
    Join Date
    May 2008
    Posts
    2
    found solution to problem

    SequenceCounter: (SELECT COUNT(*) FROM tblSchedulePayments Q1
    WHERE Q1.[leaseID] = tblSchedulePayments.[leaseID] AND Q1.[feeType] = tblSchedulePayments.[feeType]
    AND Q1.[startDate] < tblSchedulePayments.[startDate])

  3. #3
    Join Date
    Nov 2007
    Location
    Adelaide, South Australia
    Posts
    4,049
    Thanks for posting up the answer Brad
    Owner and Manager of
    CypherBYTE, Microsoft Access Development Specialists.
    Microsoft Access MCP.
    And all around nice guy!


    "Heck it's something understood by accountants ... so it can't be 'that' difficult..." -- Healdem
    "...teach a man to code and he'll be frustrated for life! " -- georgev

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •