Find Dups

Dec 27, 2007

I have a table with values :

ID Type
A123
A123
B1234
B1234
B1111
C1555
C1666

I need to produce this result from a Query:

ID Type Count
B12342
B11111
C15551
C16661
I don't want to see A, because is a classic duplicate. All I want to see is where ID is repeated (the same), but types are different and the count.
Is this doable? Even if I have to write this in SQL will be fine.

Thanks,

View Replies


ADVERTISEMENT

No Indexing, No Dups

Mar 21, 2008

In my table, I have a number field set to Index (dups OK). I have another field that I do not want to index but need "no dups." Any ideas?

View 4 Replies View Related

IIf Added Condition Creating Dups...

Jun 22, 2006

I am using the following criteria to test if an order is Current. The problem I'm having is that I am getting duplicates. Ex. If an order is Current it can't be "Repair"

This worked fine until I added one more condition: [supplier_status]='55'

Any suggestions??? Thanks!


Current: IIf([supplier_status]='55' Or (nz([dayslate],0)<=0 And [cancelled]=0 And [delivered]=0 And [repair]=0 And [SNRCurrent]=0 And [SNRpastdue]=0 And [rejectedCurrent]=0 And [AwaitingDcccur]=0),1,0)

View 1 Replies View Related

Remove Dups Based On 2 Or More Fields

Oct 2, 2007

Greetings to all,I have duplicate records in my table (i.e. there are two or more records that are identical, and I only want to keep one of them). Is there another way to delete the duplicate records other than one at a time? Assigning primary keys and appending only unique records to a new table is not an option because in some instances, I want to maintain duplicate values within a field (i.e. the desire to delete is based on more than one field)Any help would be greatly appreciatedCheers, Lori (An Access amateur)

View 9 Replies View Related

Unwanted Dups - Query Error

Apr 10, 2006

What up folks?

I am getting unwanted duplicates due to a joining error, I think.

The goal is to extract a list of employees and their accosiated departments showing a field called [CTD] from qry_employee but there are employees associated with more than one department.. I have a qry_employee liked to another qry (“qry_employee_ctd”) containing the desired field [CTD] joined by [employee_name] but there are employees associated with more than one department. NOTE: Both tables contain the department.

Please let me know if more detail is needs to assist.

Any ideas? I am up for any suggestions and appreciate your help greatly
Thanks
T

View 1 Replies View Related

Queries :: Find A Way For Access To Find Unique Dates And Unique Names?

Aug 1, 2014

I have been working on a simple data base for some time now (beginner level) and am still trying to improve it. I would like to do something but before that I would like to have your opinion to know if it is even possible?I have a query QryMainReport:

Start Date/Time
End Date/Time
Employee

At the moment this is what the format of my report looks like (I removed other unnecessary fields):

StartTime----------EndTime---------------Employee
12/06/2014 01:00--12/06/2014 03:00------John Smith
12/06/2014 04:00--12/06/2014 06:00------Jane Doe
13/06/2014 02:00--13/06/2014 05:00------John Smith
13/06/2014 08:00--13/06/2014 08:00------Jane Doe

I would like to do as a report. (Dates would always be from Sunday to Saturday). I am not sure it is possible to do that. I suppose first it would mean:I would have to do a query to separate the times from the dates?I would have to find a way for Access to find the unique dates and unique names?Does it mean I have to use cross tab queries?

View 2 Replies View Related

A Word Find Can't Find

May 23, 2005

A customer's name is SZEE. Seek him through the SName textbox with Find, and Access can't find him. (Same in the table.) Seek him with a wildcard Sz* and there he is.

I've tried it on another machine - also with Access2k - and it's the same.

Is it an Access quirk? Is there an answer? (The client asks why. Be good to be able to say.) Cheers.

View 3 Replies View Related

Find

Aug 10, 2006

Is there any way I can do a search that lets me put in a section of a part number and the part number be found? I only see how I can find the number if I put in the entire number.

Thanks

View 4 Replies View Related

Find Less The Following.

Apr 25, 2006

I think this is fairly simple, but being as I haven't ever done it! I want to do a search to find all records less those called "Default". As I say I just cant think how to do it. Any help appreciated. Thanks

View 2 Replies View Related

Find Box

Apr 6, 2005

Hey everyone,

Im creating a database for college using MS access 2003.

I have 3 table that contain data and i am building form to allow a user to search for a particular customer. The customer ID in my customer table is an auto number.

I have a button on my form and it shows the find and replace box when pressed which is what i want but i then want it so that when a user types a customer ID number in to that find and replace box and it is an exact match for the find and replace box to auto close else show an Error message and allow the user to input another customer number,

Im sure there is macro code to do this so im asking if anyone knows or has any better ideas?

Thanks for your time

View 2 Replies View Related

Using Find Of ADO

Sep 19, 2004

Hello Expert,



I have attempted for two days to following codes. I am still unable to get the way out. Would you give me a help?



The field fund_cd is a combo box of transaction table to look up reference table called fund_type. Here is the structure of fund_type:



fund_cd text 3

fund_desc text 50

fund_currency text 5



My needs are to pull both values of fund_cd and fund_currency to transaction table, so 1 combo box cannot meet my needs. As such, I write following codes to base on selected fund_cd to find appropriate value of fund_currency in fund_type.



From the code below, I meet the run-time error ‘3001’ and I am not sure can I finally get fund_currency using method of GetString.



Dim strSQL As String

Dim strccy As String



Dim rst As ADODB.Recordset

Set rst = New ADODB.Recordset



rst.ActiveConnection = CurrentProject.Connection

rst.CursorType = adOpenStatic

rst.Open "Select * from fund_type"



strSQL = "fund_cd = " & Me.fund_cd

rst.MoveFirst



rst.Find strSQL, 0, adSearchForward



strccy = rst.GetString(adClipString)



Thanks very much!

martinaccess

View 1 Replies View Related

Find First

Dec 24, 2004

I am trying to code a combo box control to find a record. This is incredibly simple but for some reason it won't work. Could you tell me what I am missing.
I have put the following code in the after update of the control

Dim rs as Object
Set rs= Me.Recordset.Clone
rs.FindFirst "[ContestNo]='"&Me![Combo23] & "'"
Me.Bookmark=rs.Bookmark

I don't get any errors but it won't work either...any ideas??

thanks in advance,
Brenda

View 2 Replies View Related

Find

Feb 1, 2005

I have an unbound text box. I want the user to
be able to type in all or part of a title for a movie.
Hit the find button and then have a form open
with entry's based on the text box.

Thanks Tukewa

View 2 Replies View Related

How To Use Key Find A Record ?

Aug 17, 2005

Hello to all,
Little new in Access i would like to know how to use the key to find directly to a record in a table.
ie : i have a table where the primary key (unique) is a date, using VBA i would like to know the instruction to find directly the record 01/06/2004 for exemple.
Thanks in advance.
VINCENT

View 2 Replies View Related

How Do I Find My Posts?

Sep 27, 2005

I realize this probably isn't the right place for this, but...how do I find all of my posts, whether I started a new post or responded to someone else's post?

Thanks in advance to whoever replies :D

View 2 Replies View Related

Find Command

Mar 7, 2006

I have a find command button that appears to call the find and replace message box. It should be a search for anything in my query. The code behind the button looks like the find and replace message box in the office suite. I believe I am trying to create a message box where you add an entry and it searches then lauches a subform with my entries.

When I checked the button it had the following code:
Private Sub cmdFind_Click()
On Error GoTo Err_cmdFind_Click

Screen.PreviousControl.SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70

Exit_cmdFind_Click:
Exit Sub

Err_cmdFind_Click:
MsgBox Err.Description
Resume Exit_cmdFind_Click

End Sub

I read a few of the lookup queries but they only give me a drop down. Is there some way to customize the box comes up without altering all of Office or do I just sound lost.

View 1 Replies View Related

Can't Find My Access DB!

Jun 1, 2006

Ok, so I made a registration website with FrontPage and published it. The registration page has several text boxes and a submit button. I was testing it out and entered a few dummy names. The conformation page popped up and said everything was ok. So I'm assuming the data successfully uploaded into the Access DB that I linked it to while in development.

My problem is when I go to the folder where the DB resides there so no data in the tables. I'm thinking that maybe when the website gets published a copy of the DB is moved somewhere and I'm looking in the wrong place? This is the first time I have made a webpage or used FrontPage so please excuse my ignorance, hehe.

View 1 Replies View Related

Can't Find My Access DB!

Jun 1, 2006

Ok, so I made a registration website with FrontPage and published it. The registration page has several text boxes and a submit button. I was testing it out and entered a few dummy names. The conformation page popped up and said everything was ok. So I'm assuming the data successfully uploaded into the access DB that I linked it to while in development.

My problem is when I go to the folder where the DB resides there so no data in the tables. I'm thinking that maybe when the website gets published a copy of the DB is moved somewhere and I'm looking in the wrong place? This is the first time I have made a webpage or used FrontPage so please excuse my ignorance, hehe.

View 1 Replies View Related

Windows Cannot Find ...mdb

Jan 24, 2007

Hi all

This message has suddenly started to appear when clicking on a shortcut to all my mdbs.

Windows cannot find [path] .mdb

I click OK and the db continues normally.

the message does not appear when opening a mdb directly.

odd huh?

any thoughts on how to resolve this annoying problem would be appreciated

View 1 Replies View Related

Find Postcode

Jun 21, 2007

Hi, I am inputing addresses into a massive databse, through a form, does anyone know a way, that i can get it to do a search for the address based on the postcode, like how googlemaps does it or something?

Thanks
Alex

View 2 Replies View Related

Find & Replace

Aug 21, 2007

I have some database, I need to replace empty cells one column with some data.
But Access does not do it.

Any suggestions?

View 1 Replies View Related

Cannot Find Toolbox

Jan 14, 2008

I need to add a Form to an Access database designed by others. In the form design view, there is no toolbox shown . If I go to View menu, toolbox is greyed out.



Can anyone please advise how to locate the toolbox?

View 2 Replies View Related

Can't Find Table

Jan 18, 2008

Hi,
I have a database created in Access 2000. It works OK on computer number one. When I copy the data base to another computer and open it, the table can not be found. The error message is "D:DocsdgrDocent Library Nov 2005 is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which it resides" The path mentioned is the original path on computer number one. The DB opens but it will not find the table or the queries etc. I thought that moving the DB had something to do with it but when I copied the DB to an external HD and then opened it, it works fine. But when I connect the external HD to the other computer it doesn't find the table.

Both computers have Access 2000.
Number one is XP and number two is W2000.

David G Rhoades
dgrjazz@sbcglobal.net

Thanks:)

View 2 Replies View Related

How Do I Find What Version...

Feb 15, 2008

Hello everyone.

I've got an VB app that uses an Access db that sits on a sever. The owner of the app has no Access installled on site. The prior consultant created the app and used MS Access.

Is there a way for me to determne what version of Access this db was created in?

Thanks

Dom (new to Access)

View 1 Replies View Related

Find All The Emails

Jun 27, 2007

I have created a DB with many tables and I want to find a way where I can retrieve all the emails from every table (each one has a column with emails). Does anyone know what to do? If a record doesn't have an email address do I have to type N/A or just leave it blank?

View 1 Replies View Related

Help With Find And Replace

Jul 17, 2007

is there any simple way to find and replace wildcard character- I have a large data table with text as sample below- I would like to remove |00


2901-0206|00


Thanks

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved