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

    Query Problem


    I'm trying to make a report based on the current record information displayed in a form. The form includes a sub-form There are two tables which the main form and sub form are based on. Both the main form and the sub-form have independent sequential numbers i.e. RN: 4596 (Main) SN: 1, 2, 3, 4..(subform). I'm trying to extract (via a query) say RN: 4596 and its sub-number 3 but what I actually get is and all of the sub records when I just want RN:4596 & SN: 3 only.
    I’m not sure how to structure a query (s) to do this ?

  2. #2
    Join Date
    May 2010
    Posts
    339
    Quote Originally Posted by Swinton View Post
    I'm trying to make a report based on the current record information displayed in a form.
    See if this helps.

    http://allenbrowne.com/casu-15.html

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

Similar Threads

  1. VBA problem in query
    By geniass in forum Queries
    Replies: 41
    Last Post: 08-28-2010, 03:07 PM
  2. query problem i have a problem wi
    By maxx3 in forum Queries
    Replies: 0
    Last Post: 06-29-2009, 02:29 AM
  3. Top 25 query problem
    By tmcrouse in forum Queries
    Replies: 3
    Last Post: 05-07-2009, 09:02 AM
  4. problem with query
    By kiethb in forum Queries
    Replies: 3
    Last Post: 04-24-2009, 11:42 AM
  5. Problem in Query
    By Bruno Trindade in forum Queries
    Replies: 4
    Last Post: 03-28-2009, 04:10 PM

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