hi, my first time here, great community site, found lots of help for my access development. So here is first question:
how do i merge a multiple record and shows the count as well, im making a library catalogue system, i made a query out of 4 tables, and come up with 4 different fields author_name, isbn, book_title, copy_id
so generally lets say one author has 1 book with several copies in the library, so it shows like this:
author_name: ISBN: book_title: copy_id:
Matthew James 1001 My Book 1
Matthew James 1001 My Book 2
Matthew James 1001 My Book 3
so i wanna merge all of them to look like this
Matthew James 1001 My Book 3 (copies)
how am i able to do this? ive tried the count funtion for SQL though it just count the whole query table, need help thanks
4 1566 ADezii 8,834
Recognized Expert Expert
hi, my first time here, great community site, found lots of help for my access development. So here is first question:
how do i merge a multiple record and shows the count as well, im making a library catalogue system, i made a query out of 4 tables, and come up with 4 different fields author_name, isbn, book_title, copy_id
so generally lets say one author has 1 book with several copies in the library, so it shows like this:
author_name: ISBN: book_title: copy_id:
Matthew James 1001 My Book 1
Matthew James 1001 My Book 2
Matthew James 1001 My Book 3
so i wanna merge all of them to look like this
Matthew James 1001 My Book 3 (copies)
how am i able to do this? ive tried the count funtion for SQL though it just count the whole query table, need help thanks
- In Query Design Mode ==> View ==> Totals
- [author_name]: GROUP BY
- [ISBN]: GROUP BY
- [book_title]: GROUP BY
- [copy_id]: COUNT
thank you for the fast response, but iam using access 2007, and i am creating it the records are in the query already, so there is an SQL code on it already, how should i do this with the codes provided? can you please be a bi specific, bit noob here, thanks :)
ADezii 8,834
Recognized Expert Expert
thank you for the fast response, but iam using access 2007, and i am creating it the records are in the query already, so there is an SQL code on it already, how should i do this with the codes provided? can you please be a bi specific, bit noob here, thanks :)
Sorry, but I am a little confused on your explanation, try posting the SQL.
hi, i got it already, didnt see the total there, but now ive figured it out, thanks for the great help, one more, ummm... i have a table of username and password field, and would like to use that as a log in for certain access to my forms or queries, any advice how should i do this? thanks
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Tom Dauria |
last post by:
I have an application that will be distributed remotely. In the
Access application I am opening Word documents and mail merging. The
Word documents are linked to a tmpLetter table. In my code I...
|
by: Bob Alston |
last post by:
Most of my Access database implementations have been fairly small in
terms of data volume and number of concurrent users. So far I haven't
had performance issues to worry about. <knock on wood>
...
|
by: VMI |
last post by:
How can I dump a datatable into an Access table (which contais exactly the
same structure)?
Somebody suggested doing this with a dataAdapter. I don't want to run an
Insert query for each record (I...
|
by: Bubb |
last post by:
I have an Access database with one table that I use for stuff I sell
online. Each record has the following fields: Unique Id, Cost, and
Item Description. I just obtained some more stuff with its...
|
by: actimel01 |
last post by:
I know this question has been asked many times before but I can't find an answer that fits my data!
I have two Access databases. The tables in each have the exactly the same fields except for one...
| |
by: crealesmith |
last post by:
Firstly, I have no problem with mail merging to Word, VB code for that
works perfectly.
On one mail merge I need to merge 15 fields of data that are from 3
seperate records.
The 3 records are all...
|
by: etuncer |
last post by:
Hello All,
I have Access 2003, and am trying to build a database for my small
company. I want to be able to create a word document based on the data
entered through a form. the real question is...
|
by: Henrik Goldman |
last post by:
Hello,
I have a dataset which consist of a string username and string hostname as a
key and then an integer representing a count as the matching "second" value
in a pair.
So far I've used...
|
by: Bizmark |
last post by:
Access2003,
Windows XP Pro OEM user OS,
Windows Sever 2000 server OS.
Not-so-recently I inherited 3 Access DB's from another company merging with our own. Our own system works off of SQL...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |