Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Access

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 06-03-2009, 03:00 AM
AnthonyT AnthonyT is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: May 2009
Posts: 3
AnthonyT is on a distinguished road
Default Table Indexes

Hi All

Using Access 2007

Need to group trades on a single table that share certain characteristics together into a single sales opportunity and need to create a SalesOppertunity ID and assign it to these trades.

Had thought to create and index using the relevant fields which seems to group them OK but I want this index to be visible so I can count the number of unique opportunities and compare against number of trades etc etc

Help would be appreciated
Reply With Quote
  #2  
Old 06-03-2009, 11:28 AM
RuralGuy's Avatar
RuralGuy RuralGuy is online now Windows 7 Access 2007 (version 12.0)
Administrator
 
Join Date: Mar 2007
Location: 8300' in the Colorado Rocky Mountains
Posts: 4,348
RuralGuy will become famous soon enoughRuralGuy will become famous soon enough
Default

I'm not sure what you need but indexing tables has *nothing* to do with grouping, sorting and searching yes but not grouping.
__________________
(RG for short) aka Allan Bunch MS Access MVP - WinXP Pro, Win7 - acXP, ac07
If your issue is resolved...follow this link for directions on how to use the Solved thread tool!
Teaching is not filling a bucket but lighting a fire. Borrowed quote..."Docendo discimus"
Reply With Quote
  #3  
Old 06-03-2009, 11:40 PM
AnthonyT AnthonyT is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: May 2009
Posts: 3
AnthonyT is on a distinguished road
Default

Thanks RG

Yeah realised that after a bit more digging - went with building a composite key by concatenating 5 fields together
Reply With Quote
  #4  
Old 06-04-2009, 04:16 AM
RuralGuy's Avatar
RuralGuy RuralGuy is online now Windows 7 Access 2007 (version 12.0)
Administrator
 
Join Date: Mar 2007
Location: 8300' in the Colorado Rocky Mountains
Posts: 4,348
RuralGuy will become famous soon enoughRuralGuy will become famous soon enough
Default

What is wrong with one AutoNumber field?
__________________
(RG for short) aka Allan Bunch MS Access MVP - WinXP Pro, Win7 - acXP, ac07
If your issue is resolved...follow this link for directions on how to use the Solved thread tool!
Teaching is not filling a bucket but lighting a fire. Borrowed quote..."Docendo discimus"
Reply With Quote
Reply

Bookmarks

Tags
access 2007, indexes, primary key

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 10:37 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.