Page 2 of 2 FirstFirst 12
Results 16 to 26 of 26
  1. #16
    marianne is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Mar 2009
    Location
    Asia Pacific Region
    Posts
    150

    I'm sorry. I got tired and fall asleep. I didn't get what you mean on reply number #13. can you tell me how?

  2. #17
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Use the Query builder to create a query that will sum all of the records prior to June. You push the Sigma button (funny E button) to switch the query to a Sum query.

  3. #18
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    When you have the sum query working then post the SQL for the query so we can all see it. Then work on another query that will simply select all of the records in June.

  4. #19
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    How soon do you have to have this ready? We can switch to an IM on this if time is too short.

  5. #20
    marianne is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Mar 2009
    Location
    Asia Pacific Region
    Posts
    150
    Actually I need this now for my assignment to get finish. but I guess I'm running out of time. I will have to submit this tomorrow. I will skip class today for this. I have done making a query. I have attached an access file. can you see it if it is right?

  6. #21
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Take a look at and run qryUnionExport.

  7. #22
    marianne is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Mar 2009
    Location
    Asia Pacific Region
    Posts
    150
    that is to perfect. actually have also thought of making more that one table. but I do not know what is the purpose of other type of queries like this union query. May I know what is the purpose of union query? and what is the difference between SELECT and SELECT DISTINCTROW?

  8. #23
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Queries do not take up any room as do tables. They are just strings of text that are executed. A union query can put two queries together (UNION) one after the other as long as they have similar fields. Union queries are not updateable.

  9. #24
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You will notice I had to put in the dummy field so the two queries would have an equal number of fields and they were similar.

  10. #25
    marianne is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Mar 2009
    Location
    Asia Pacific Region
    Posts
    150
    yes....i see. thank you very much ruralguy. I will study the sample that you provided me. thanks again.

  11. #26
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You're very welcome. Have fun.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

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