A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Can Access do this?



 
 
Thread Tools Display Modes
  #1  
Old September 26th, 2008, 03:13 AM posted to microsoft.public.access.tablesdbdesign
Jan
external usenet poster
 
Posts: 354
Default Can Access do this?

We have sales opportunities in which we are “teamed” with other companies for
the same project. The goal is to know how many projects we “win” but also
which “team” we tend to “win” with the most or some analysis of that sort.
Another consideration is that we may have several projects with the same
company. Can an Access database handle all of this?
  #2  
Old September 26th, 2008, 05:58 AM posted to microsoft.public.access.tablesdbdesign
Allen Browne
external usenet poster
 
Posts: 11,706
Default Can Access do this?

If one 'quote' involves many companies, that's a classic one-to-many
relation:
Client table (one record for each company you bid with)
- ClientID AutoNumber primary key
- ClientName Text

Quote table (one record for each opportunity you submit on.)
- QuoteID AutoNumber primary key
- QuoteDate when you submitted this.
- Outcome some way of identifying whether it won.

QuoteClient table, with fields:
- QuoteID which quote this record is for
- ClientID which company was involved in the quote.

You could then create a query with both tables.
Depress the Totals button (on the toolbar in query design.)
Group by ClientID, and Count QuoteID.
Set criteria where the outcome is what you want, and where it's in the date
range you want to know about.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Jan" wrote in message
...
We have sales opportunities in which we are “teamed” with other companies
for
the same project. The goal is to know how many projects we “win” but also
which “team” we tend to “win” with the most or some analysis of that sort.
Another consideration is that we may have several projects with the same
company. Can an Access database handle all of this?


  #3  
Old September 27th, 2008, 06:51 PM posted to microsoft.public.access.tablesdbdesign
TedMi
external usenet poster
 
Posts: 507
Default Can Access do this?

Just for the record, for the OP's benefit: This is a classic MANY-TO-MANY
relationship.
--
TedMi

"Allen Browne" wrote:

If one 'quote' involves many companies, that's a classic one-to-many
relation:
Client table (one record for each company you bid with)
- ClientID AutoNumber primary key
- ClientName Text

Quote table (one record for each opportunity you submit on.)
- QuoteID AutoNumber primary key
- QuoteDate when you submitted this.
- Outcome some way of identifying whether it won.

QuoteClient table, with fields:
- QuoteID which quote this record is for
- ClientID which company was involved in the quote.

You could then create a query with both tables.
Depress the Totals button (on the toolbar in query design.)
Group by ClientID, and Count QuoteID.
Set criteria where the outcome is what you want, and where it's in the date
range you want to know about.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.


  #4  
Old September 28th, 2008, 04:22 AM posted to microsoft.public.access.tablesdbdesign
Allen Browne
external usenet poster
 
Posts: 11,706
Default Can Access do this?

Thanks, TedMi. That's correct.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"tedmi" wrote in message
...
Just for the record, for the OP's benefit:
This is a classic MANY-TO-MANY relationship.

"Allen Browne" wrote:

If one 'quote' involves many companies, that's a classic one-to-many
relation:
Client table (one record for each company you bid with)
- ClientID AutoNumber primary key
- ClientName Text

Quote table (one record for each opportunity you submit on.)
- QuoteID AutoNumber primary key
- QuoteDate when you submitted this.
- Outcome some way of identifying whether it won.

QuoteClient table, with fields:
- QuoteID which quote this record is for
- ClientID which company was involved in the quote.

You could then create a query with both tables.
Depress the Totals button (on the toolbar in query design.)
Group by ClientID, and Count QuoteID.
Set criteria where the outcome is what you want, and where it's in the
date
range you want to know about.


 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:23 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 OfficeFrustration.
The comments are property of their posters.