Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old May 8th, 2008, 07:29 AM
AOG123's Avatar
AOG123 AOG123 is offline
Registered Hero
ASP Free Novice (500 - 999 posts)
 
Join Date: Oct 2006
Posts: 975 AOG123 User rank is General 5th Grade (Above 100000 Reputation Level)AOG123 User rank is General 5th Grade (Above 100000 Reputation Level)AOG123 User rank is General 5th Grade (Above 100000 Reputation Level)AOG123 User rank is General 5th Grade (Above 100000 Reputation Level)AOG123 User rank is General 5th Grade (Above 100000 Reputation Level)AOG123 User rank is General 5th Grade (Above 100000 Reputation Level)AOG123 User rank is General 5th Grade (Above 100000 Reputation Level)AOG123 User rank is General 5th Grade (Above 100000 Reputation Level)AOG123 User rank is General 5th Grade (Above 100000 Reputation Level)AOG123 User rank is General 5th Grade (Above 100000 Reputation Level)AOG123 User rank is General 5th Grade (Above 100000 Reputation Level)AOG123 User rank is General 5th Grade (Above 100000 Reputation Level)AOG123 User rank is General 5th Grade (Above 100000 Reputation Level)AOG123 User rank is General 5th Grade (Above 100000 Reputation Level)AOG123 User rank is General 5th Grade (Above 100000 Reputation Level)AOG123 User rank is General 5th Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 14 m 43 sec
Reputation Power: 1326
Remove duplicate words from a string

Hi

Say i have the following in a field

<Anyword, Anyword, Otherword, Otherword>

How can i remove/hide the duplicate words when retreiving the data in query?

With the result being >

<Anyword, Otherword>

Anyhelp is greatly appreciated,. I can't remove the duplicates at an earlier stage as they are gathered via a column row concatination,...

Thanks AOG

Last edited by AOG123 : May 8th, 2008 at 07:35 AM.

Reply With Quote
  #2  
Old May 8th, 2008, 09:15 AM
mehere's Avatar
mehere mehere is offline
Senior Sarcasm Wizardess
ASP Free God 17th Plane (13000 - 13499 posts)
 
Join Date: Feb 2005
Location: Dreamland
Posts: 13,237 mehere User rank is General 15th Grade (Above 100000 Reputation Level)mehere User rank is General 15th Grade (Above 100000 Reputation Level)mehere User rank is General 15th Grade (Above 100000 Reputation Level)mehere User rank is General 15th Grade (Above 100000 Reputation Level)mehere User rank is General 15th Grade (Above 100000 Reputation Level)mehere User rank is General 15th Grade (Above 100000 Reputation Level)mehere User rank is General 15th Grade (Above 100000 Reputation Level)mehere User rank is General 15th Grade (Above 100000 Reputation Level)mehere User rank is General 15th Grade (Above 100000 Reputation Level)mehere User rank is General 15th Grade (Above 100000 Reputation Level)mehere User rank is General 15th Grade (Above 100000 Reputation Level)mehere User rank is General 15th Grade (Above 100000 Reputation Level)mehere User rank is General 15th Grade (Above 100000 Reputation Level)mehere User rank is General 15th Grade (Above 100000 Reputation Level)mehere User rank is General 15th Grade (Above 100000 Reputation Level)mehere User rank is General 15th Grade (Above 100000 Reputation Level)  Folding Points: 10976 Folding Title: Novice Folder
Time spent in forums: 5 Months 1 Day 20 h
Reputation Power: 2012
have a look here. i realize this function is written in VBScript (for ASP), but i'm sure it can be converted to VBA quite easily.
__________________
Come JOIN the party!!!

Quote of the Month:
Pretension: The downside of being better than everyone else is that people tend to assume you're pretentious.

Questions to Ponder:
You can be overwhelmed and underwhelmed, but why can't you be simply whelmed?

iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm")
copyright© 2008 sbenj69

Last edited by mehere : May 8th, 2008 at 11:06 AM. Reason: corrected link

Reply With Quote
  #3  
Old May 8th, 2008, 10:55 AM
sbenj69's Avatar
sbenj69 sbenj69 is offline
Redneck 'puter fell'r
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2007
Location: Redneck part of Illinois
Posts: 1,728 sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)sbenj69 User rank is General 7th Grade (Above 100000 Reputation Level)  Folding Points: 307628 Folding Title: Super Ultimate Folder - Level 1Folding Points: 307628 Folding Title: Super Ultimate Folder - Level 1Folding Points: 307628 Folding Title: Super Ultimate Folder - Level 1Folding Points: 307628 Folding Title: Super Ultimate Folder - Level 1Folding Points: 307628 Folding Title: Super Ultimate Folder - Level 1Folding Points: 307628 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 1 Day 14 h 59 m 22 sec
Reputation Power: 1466
I did this off the top of my head, so it is untested. But check out the answer >>Here <--Click<<
__________________
Did I help you? If so gimme rep by clicking on the scales at the top right corner of this post

Madness does not always howl. Sometimes, it is the quiet voice at the end of the day saying, "Hey, is there room in your head for one more?"

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Remove duplicate words from a string


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek