16c11 Two table query - repeating customers please advise
Sign Up |  Live StatsLive Stats    Articles 37,351| Comments 177,421| Members 19,424, Newest yashpal singh| Online 426
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags
Sikh Philosophy Network » Sikh Philosophy Network » Current News » Information Technology » Two table query - repeating customers please advise

Two table query - repeating customers please advise

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 115 USD (23%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Append query from Temp Table Allan Skyner Information Technology 1 28-Jul-2006 08:37 AM
Pass-Through Query with Parameters from a Table RoyHobbs Information Technology 1 28-Jul-2006 08:17 AM
How do I run a multi-table query? Candace Information Technology 5 28-Jul-2006 08:10 AM
Re: Group count query advise Dirk Goldgar Information Technology 0 28-Jul-2006 07:59 AM
Query the same table twice within one query? Possible? Richard Horne Information Technology 2 09-Nov-2005 17:51 PM


Tags
two, table, query, repeating, customers, advise
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:41 AM
Gary's Avatar Gary
Guest
 
Posts: n/a
   
   
Two table query - repeating customers please advise

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
Hello,

Hopefully there is a simple solution to this.

I have two tables. One is customers, one is orders.
Both share the key Customer ID.

I have used the simple query wizard to create a query and selected
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/13955-two-table-query-repeating-customers-advise.html
fields from both tables. However the table that is produced is creating
a new row for every order that a customer has placed. And thus
duplicating customer details on every order row. This is not what I
need.

I need one row per customer. Some customers have 90 orders, and order
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13955
details are about 9 fields, so I would like each customer row to have
about 900 columns, called ORDER1, ORDER2, ORDER3, etc...

Does this make sense? Please help if you can.

Thanks,
Gary.



Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:41 AM
rico's Avatar rico
Guest
 
Posts: n/a
   
   
RE: Two table query - repeating customers please advise

Hi,

Its possible but will take some quite heavy programming, mainly because its
not the way querys work.

If you want to see orders related to customers, i would create a form for
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13955
your customers details with a subform of orders, related by customerID.

HTH

Regards


"Gary" wrote:

> Hello,
>
> Hopefully there is a simple solution to this.
>
> I have two tables. One is customers, one is orders.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13955
> Both share the key Customer ID.
>
> I have used the simple query wizard to create a query and selected
> fields from both tables. However the table that is produced is creating
> a new row for every order that a customer has placed. And thus
> duplicating customer details on every order row. This is not what I
> need.
>
> I need one row per customer. Some customers have 90 orders, and order
> details are about 9 fields, so I would like each customer row to have
> about 900 columns, called ORDER1, ORDER2, ORDER3, etc...
>
> Does this make sense? Please help if you can.
>
> Thanks,
> Gary.
>
>

Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:41 AM
Gary's Avatar Gary
Guest
 
Posts: n/a
   
   
Re: Two table query - repeating customers please advise

Oh no this is bad news...

The problem is that I'm trying to 'export' the data in this form. I'm
importing into a CRM program, that treats every row as a unique contact
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13955
so I need only one customer per row.
The customer order data is only associated with a customer if it
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13955
appears on the same row as the customer in this CRM program's import
facility (it is Act v. 6.0)

Any suggestions please?

Thanks,

Gary.

Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:41 AM
rico's Avatar rico
Guest
 
Posts: n/a
   
   
Re: Two table query - repeating customers please advise

OK,

I can under stand having one customer for per line, thats standard, but why
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13955
would act then need each order in a column. I'm not familiar with act, but
this seems an odd way of doing things.

Rico

"Gary" wrote:

> Oh no this is bad news...
>
> The problem is that I'm trying to 'export' the data in this form. I'm
> importing into a CRM program, that treats every row as a unique contact
> so I need only one customer per row.
> The customer order data is only associated with a customer if it
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13955
> appears on the same row as the customer in this CRM program's import
> facility (it is Act v. 6.0)
>
> Any suggestions please?
>
> Thanks,
>
> Gary.
>
>

Reply With Quote
  #5 (permalink)  
Old 28-Jul-2006, 08:41 AM
rico's Avatar rico
Guest
 
Posts: n/a
   
   
Re: Two table query - repeating customers please advise

  Donate Today!  
I would say you need, check act. Any database type system worth its salt
would not work like this.

Sorry to advise on company matter, but why use another program for CRM, if
your data is in access, use access.

Rico

"rico" wrote:

> OK,
>
> I can under stand having one customer for per line, thats standard, but why
> would act then need each order in a column. I'm not familiar with act, but
> this seems an odd way of doing things.
>
> Rico
>
> "Gary" wrote:
>
> > Oh no this is bad news...
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13955
> >
> > The problem is that I'm trying to 'export' the data in this form. I'm
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13955
> > importing into a CRM program, that treats every row as a unique contact
> > so I need only one customer per row.
> > The customer order data is only associated with a customer if it
> > appears on the same row as the customer in this CRM program's import
> > facility (it is Act v. 6.0)
> >
> > Any suggestions please?
> >
> > Thanks,
> >
> > Gary.
> >
> >

Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
Woolwich Killing: The...
Today 14:28 PM
27 Replies, 318 Views
Request for assistance...
By Ishna
Today 13:48 PM
12 Replies, 192 Views
Is Science a Religion?
By akiva
Today 12:22 PM
20 Replies, 2,131 Views
UNITED SIKHS AID Team...
Today 03:19 AM
0 Replies, 44 Views
Abu Nusaybah, 'Friend'...
Today 02:33 AM
0 Replies, 56 Views
Stockholm riots throw...
Today 02:14 AM
10 Replies, 133 Views
How does Sikhi help you...
Today 02:04 AM
48 Replies, 1,238 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 01:52 AM
186 Replies, 4,682 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 01:41 AM
322 Replies, 7,752 Views
Paneer: what I have...
Yesterday 22:29 PM
8 Replies, 92 Views
How Many Sikhs Have...
Yesterday 21:55 PM
698 Replies, 51,751 Views
Transgenderism ... Right...
By Kaylee
Yesterday 17:55 PM
31 Replies, 1,385 Views
Rochester Gurdwara...
Yesterday 10:55 AM
2 Replies, 90 Views
US Congress panel passes...
Yesterday 04:22 AM
0 Replies, 58 Views
Harmeet Kaur Took the...
Yesterday 03:40 AM
0 Replies, 76 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 15:04 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.83198 seconds with 32 queries
0