+ Reply to Thread
Results 1 to 2 of 2

Write SQL query that will populate data from Access to Excelsheet using conditions

  1. #1
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    Write SQL query that will populate data from Access to Excelsheet using conditions

    I have an Access table which has following fields:

    ScanDate Number DataType
    Type Number
    Type1 Number
    Type2 Number
    BatchNo Number
    Cases Number
    Pages Number


    Now I have a useform in Excel so that when the user selects the Date from the combobox then it should check for
    total batch numbers (Count(BatchNo)), total cases (Sum(Cases)),Total Pages(Sum(Pages)) where ScanDate= Date from the combobox group by Queue Number. The Queue Number consist of Type+Type1+Type2.

    Please see attached the Excelsheet where the data should be populated to.

    Thanks for looking. Hope anyone can help me in this.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    Re: Write SQL query that will populate data from Access to Excelsheet using conditions

    Hi Guys

    Just can't figure out how to do Group By Queue Number. Because Queue Number is not the field. In actual Queue Number consisit of Type+Type1+Type2. These three are the fields in Access table.

    Can't ring a bell how to do it.. Please help me in this.

    Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Extract data from Access table into excelsheet
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-16-2012, 05:36 AM
  2. Populate data from form to excelsheet as its already happening using macros
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 05-12-2011, 02:52 AM
  3. Transfer data from excelsheet to access table
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-16-2011, 04:35 AM
  4. Transfer data from Access table to Excelsheet
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-27-2010, 03:38 AM
  5. Populate list box with excelsheet data
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-10-2010, 07:41 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1