Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 12th, 2015, 06:14 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: May 2015
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default I have MS Access table


I have MS Access table
ID: Category City
01 Gemstones Peshawar
02 Gemstones Peshawar
03 Jewelry Peshawar
04 Gemstones Peshawar
05 Jewelry Peshawar

I want it search by City & Group by Category like this

Gemstones 03
Jewelry 02

I Use this step please help me in this regard

sql="SELECT Category, count(*) from MemberTable GROUP BY Category"

rs.Open sql, conn
do until rs.EOF


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
join table using ms access ct VB.NET 1 October 23rd, 2006 03:16 PM
Reading a MS-Access table: PYee Javascript How-To 9 February 7th, 2005 08:12 AM
How to create table in Ms Access (TSQL) abdusalam SQL Server 2000 4 July 31st, 2004 01:54 AM
How to clone MS Access table in C# cameleon69 C# 0 January 21st, 2004 10:16 AM
MS Access Table Help Imran82 BOOK: Beginning Access VBA 0 December 23rd, 2003 08:17 AM

All times are GMT -4. The time now is 04:43 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.