PC Review


Reply
Thread Tools Rate Thread

Re: updating filtered duplicates

 
 
=?Utf-8?B?Q3ludGhpYQ==?=
Guest
Posts: n/a
 
      29th Aug 2005
I do not want to delete the duplicates. The steps are,
1.
I am putting the circnum and circdescr fields together into the circuit field
2.
In data sheet view the engineer copies down a group of records.
He then changes either the circnum or circdescr field. which in turn updates
the curcuit field.
2.
I want to be able to filter by duplicates so that they can see if they
missed changing any of the items.
3.
I do not let them exit the form until they have fixed all duplicates.

"Ron Weiner" wrote:

> Cynthia
>
> Why not delete the duplicates for em automagically? Here is a simple
> example deleting duplicate rows in a table. You may have to use a more
> complex
>
> DELETE * from SomeTable WHERE ColPriKey = (SELECT Max(ColPriKey) AS
> RowToDelete FROM SomeTable GROUP BY ColWithDupes HAVING Count (ColWithDupes)
> > 1)

>
> Might have to re-run the query several times to get rid of dups when there
> are more than two duplicate rows. This query only delete one row (the Max
> Primary key) of all duplicate rows each time it is run. If you had 4
> duplicate rows of one item you would have to run this query 3 times to kill
> all of the dupes.
>
> --
> Ron W
> www.WorksRite.com
> "Cynthia" <(E-Mail Removed)> wrote in message
> news:3410F5C0-9326-4750-80AD-(E-Mail Removed)...
> > I have a form that the users copy multiple items in datasheet view.
> > When finished I do not let them exit untill they have fixed duplicates.
> >
> > They want to filter for the duplicates on the form then fix them.
> > When I change my me.recordsource to a qry that gets a count of the records
> > and change the me.filter where count > 1 my record is not updateable. Is
> > there
> > another way to go about this?
> >
> > Appreaciate any help.

>
>
>

 
Reply With Quote
 
 
 
Reply

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
changing a filtered report to a filtered form Sarah Microsoft Access Forms 3 5th Aug 2009 02:30 PM
Return filtered values into report worksheet based on filtered valueon the data worksheet dicko1 Microsoft Excel Worksheet Functions 1 21st Apr 2009 12:27 AM
traversing through a filtered range based on another filtered range zestpt Microsoft Excel Programming 4 12th Jul 2004 06:37 PM
Filtered Visible Rows & VBA Non-Filtered Rows Displayed QTE Microsoft Excel Programming 8 11th Jul 2004 02:21 AM
Output an access report to excel files with filtered a filtered date range. Frank Microsoft Access Form Coding 2 30th Jul 2003 01:03 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:18 AM.