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 1586 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 write
the records to be merged into that table. The Word documents are
using a system dsn (ODBC) to connect to the data source. In my code I
simply open the Word documents after writing to the table do a mail
merge and print.
It runs pretty...
|
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>
But I am curious about what techniques those of you who have done higher
volume access implementations use to ensure high performance of the
database in a multi-user 100mbps LAN implementation???
Thanks
|
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 assume that if the datatable and the Access
table have the same structure, I can just dump it from one place to the
other). I'd be dumping data to the same Access table several times (append).
Thanks.
|
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 own
database, some of the items I already have in my database. The new
table has the same three fields. What I need to do is merge the two
database tables together so I have one table. I need to make the new
merged table have 7 fields: ...
|
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 (which was added into the tables in the second database). Thye do have different records.
I want to merge the records from the tables from in the first database into the tables in the second. Other answers have suggested merging the tables in a...
| |
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 in the same table. If I use a control source that
is selecting the 3 records, all of the data is shown but spread over 3
pages in the mail merge, but needs to be listed together in one
paragraph.
Is there anyway of looping through the 3...
|
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 this: can Access create
the document and place it as an OLE object to the relevant table?
Any help is greatly appreciated.
Ricky
|
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 std::list to store this information by inserting objects
containing all 3 pieces of information. However now some users has datasets
in the range of 12000 records and my list seems to be taking like forever to
complete inserting and finding.
|
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 server, but mainting these databases is critical to keeping the business running. 1 database in particular has been causing problems. Along the course we have had a few problems with random records corrupting (new and old) and Values within fields...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |