473,406 Members | 2,281 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Access SQL input records without a join

22
Hi! Thanks for checking out my dilemma!
I know I have done this before (in another db) but I can't recall exactly.
What I have are two sources: a query of open invoices that creates a customer statement and a table of customer contacts.
When I export to excel, I want to take the contacts with me - but I do not want to duplicate my invoice records for all the contacts.

The query fields(invoice) are ID, ACCT, INVNO,INVDATE, INVAMT, AGE, DUE
The table fields(contact) are CID, ACCT, NAME, EMAIL
One-to-many contacts to ACCT

What is the sql to select the ACCT from table and insert as a new column name ?
I would like to find all of the CID's for ACCT and show them in the record i.e name1, name2, name3

Did I give enough information for a response????
Dec 21 '18 #1
1 1234
NeoPa
32,556 Expert Mod 16PB
So you export the invoices in one process and then, separately, export the relevant contacts. What is it that you're confused about?
Dec 22 '18 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: DH | last post by:
Hi Two weeks ago I posted "How to call a VB6 application from windows service application" (on 05/04/04). Thanks for MW's help and it worked. However there is a problem: my VB6 application's...
2
by: Jim | last post by:
Hi, I have two tables (A and B) with id fields in them, I would like a list of ids that are in A but not in B. How would I do this in SQL? Thank you,
3
by: Csaba Gabor | last post by:
I just someone can confirm what I observe experimentally: Input elements without names (but with an id) are not sent to the server when the form is submitted. This would be useful because I have...
3
by: Peter Phelps | last post by:
My problem is as follows: I need automatically iterate through a single field in a table and use the values in the field to create an in-statement. Currently, the character limitation in the...
3
by: Richard | last post by:
Hey there, I have a textbox and a listbox. When a user types a number in the textbox, I want to get all the records from a MS Access DB but without reloading the page. I now have something...
4
by: doritrieur | last post by:
How do i read line from an input file, without the /n ? the readline function returns also the /n character at the end. i need to read a line without the training /n is this possible? thanks,...
5
by: redstamp | last post by:
Try as I might I cannot find a way to write an access query to return a result set with the records from my database WITHOUT a certain set of values within a field. To explain, I have a table of...
4
by: jkuruvil | last post by:
I need to print a report of a bunch of records that falls between certain dates. Some records have dates and some don't. I did a UNION query to look for everything that falls between these two dates...
3
by: emajka21 | last post by:
Hello, and thank you in advance for trying to help me. I am trying to create an access 2000 form without using the wizard. It just doesn't seem like I can the level of complexity I want out of the...
1
by: katwheels | last post by:
I need to convert a data element from a web page table into an MS Access input parameter and then run another MS Access query. I have an ASP web page that generates an MS Access query and creates...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.