Results 1 to 2 of 2
  1. #1
    accesscurrymoodle is offline Novice
    Windows Vista Access 2003
    Join Date
    Aug 2010
    Posts
    1

    Adapting a fragment code

    Hey I need some help! I want to adapt this program code in a database regarding the population of specific ethnicities in US Cities. I want to adapt the program code in a way that I can get the following



    1) 2 columns: __ethnicity__ population and total population
    2) __Ethnicity__ as a percentage of the total population

    The database file looks like this:


    The code I'm planning to use is right below:

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    Access offers the AggregateQuery as an embedded feature. In your textbook you will find examples of how to use this and should offer you exactly what you seek.

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

Similar Threads

  1. Need code
    By Patience in forum Access
    Replies: 8
    Last Post: 07-01-2010, 07:26 AM
  2. Help with code
    By steve183 in forum Programming
    Replies: 2
    Last Post: 06-04-2010, 05:14 PM
  3. Help with VBA code
    By bgonzal1 in forum Access
    Replies: 3
    Last Post: 12-14-2009, 07:12 AM
  4. Access 2003 code vs Access 2007 Code
    By ralphjramirez in forum Access
    Replies: 5
    Last Post: 11-23-2009, 12:33 PM
  5. Need help with code
    By hoenheim in forum Programming
    Replies: 9
    Last Post: 09-11-2008, 04:19 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