This is a discussion on "Check for duplicate entry" within the JavaScript Forum section. This forum, and the thread "Check for duplicate entry are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Check for duplicate entry
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Check for duplicate entry
I have a page that pulls a column from an access DB.
This column could appear on my webpage any number of times dependant on how many entries there are in the DB. What I need to do in javascript is loop through each field checking for duplicate entries. The name of the field is in the format "order_" & IDfromDB I can do everything apart from the detecting of the duplicate entry. Unfortunately the IDfromDB will most likely NOT be sequential, so I need to code for that. Any ideas? |
|
|
|
|||
|
Are you removing the duplicate entries?
If so (not sure if access can do this, but possible with SQL) why not alter your query to the table with: SELECT DISTINCT ... HTH u2o |
|
|||
|
Are you using Javascript for ASP? If not I'm not sure why you'd be doing this on the client-side verses the server-side as that's the correct place to do filtering like this (either in the SELECT like u2 said or in writing the recordset to the page).
|
![]() |
| Tags |
| check, duplicate, entry |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| duplicate content | dab42pat | Search Engine Optimization (SEO) | 25 | Aug 3rd, 2007 16:09 |
| Duplicate content | ScottR | Search Engine Optimization (SEO) | 6 | Jul 27th, 2007 13:36 |
| Masking a duplicate MC | eabigelow | Flash & Multimedia Forum | 3 | Oct 22nd, 2006 03:23 |
| seeking cause for err: "Duplicate entry '' for key 2" | jswebdev | PHP Forum | 2 | Nov 28th, 2005 00:04 |