Results 1 to 6 of 6
  1. #1
    hatmal is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    13

    join 2 querys in one query


    i have



    Movements_during_qry ------ movments to all employee during day

    Movements_qry------- which including arrival in morning and depature in end day


    how i combine two query’s in one query to show data

    example
    in day 05/02/2015 show employee 1 show all movements and arrival

    ( from 2 querys)

    file[/url"]http://www.access-programmers.co.UK/forums/attachment.php?attachmentid=57519&d=1424607682

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Perhaps you need to do a compound join on employeeID and date fields.

    What is that link supposed to open?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    hatmal is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    13
    file attached
    Attached Files Attached Files

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    I have the db file but I don't understand the data structure. What are Movements_tb and Movements_during_tb representing?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    hatmal is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    13
    Quote Originally Posted by June7 View Post
    I have the db file but I don't understand the data structure. What are Movements_tb and Movements_during_tb representing?

    Movements_tb------------ for show employee arrival in morning and end of day


    Movements_during_tb------- for employee who in in time in day examplyee


    employee 1 will take permission from work from 10:00 morning to 11:00

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Provide an example of what the output should look like.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 4
    Last Post: 03-29-2014, 01:29 AM
  2. Working with querys
    By CoreyM in forum Queries
    Replies: 18
    Last Post: 05-04-2012, 02:18 PM
  3. Join 2 Querys
    By afslaughter in forum Queries
    Replies: 4
    Last Post: 12-07-2011, 02:59 PM
  4. Report with two querys
    By karanvemuri in forum Reports
    Replies: 3
    Last Post: 10-03-2011, 09:36 AM
  5. Where are my Querys?
    By tamu46 in forum Access
    Replies: 7
    Last Post: 12-04-2010, 03:27 AM

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