473,395 Members | 2,079 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

access 97: duplicates in query

i am receiving unwanted duplicates in my select query.
so i added the "distinct" in the sql side and/or i
selected the properties "unique values" = yes. However,
i receive an error message "can't include memo
or ole object when you select unique values
([Comments] & "" & [wire_text] & "" & [claim_user_nm])."

i understand that there are duplicated values within the field
called comment:([Comments] & "" & [wire_text] & "" & [claim_user_nm])
and i need them. how can i avoid this error message?? would i have to
go into the tables
and change the datatypes of [Comments],[wire_text], and
[claim_user_nm] fields to text? though
i need to have more than 255 character spaces for the comments field.
so i'm stuck and i really don't know what to do next.

any advice would be appreciated!! thanks in advance jung.

SELECT DISTINCT DEC_DDA_CR.DataBase, DEC_DDA_CR.LoanAcct,
DEC_DDA_CR.DDA, DEC_DDA_CR.Amount, DEC_DDA_CR.TXNum,
DEC_DDA_CR.TXType, DEC_DDA_CR.DocType, DEC_DDA_CR.DueDate,
DEC_DDA_CR.UserCode, DEC_DDA_CR.DetAmount, ([Comments] & " " &
[wire_text] & " " & [claim_user_nm]) AS Comment, DEC_DDA_CR.[Account
ID]
FROM qryLiveWire INNER JOIN DEC_DDA_CR ON qryLiveWire.amount =
DEC_DDA_CR.Amount
WHERE (((DEC_DDA_CR.TXType)="UNKNOWN"));
Nov 12 '05 #1
1 1506
pi******@yahoo.fr (JMCN) wrote in message news:<27**************************@posting.google. com>...
i am receiving unwanted duplicates in my select query.
so i added the "distinct" in the sql side and/or i
selected the properties "unique values" = yes. However,
i receive an error message "can't include memo
or ole object when you select unique values
([Comments] & "" & [wire_text] & "" & [claim_user_nm])."

i reworked the problem and realized that there are duplicate values in
both the [wire_text] and [claim_user_nm] fields. how would one allow
the duplicate values for only these two fields? is it possible?
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Sean C. | last post by:
Helpful folks, Most of my previous experience with DB2 was on s390 mainframe systems and the optimizer on this platform always seemed very predictable and consistent. Since moving to a WinNT/UDB...
2
by: M.Stanley | last post by:
Hi, I have a problem..I'm doing a specific query where I'm joining fields from a table with appednded data (there are duplicate records, except for the date/time), and another query. I want the...
6
by: Marlene | last post by:
Hi All I have the following scenario, where I have found all the duplicates in a table, based on an order number and a part number (item).I might have something like this: Order PODate Rec...
8
by: s_wadhwa | last post by:
SELECT DISTINCTROW "01C" AS dummy, Buildings.BuildingNumber, UCASE(Buildings.BuildingName) AS BuildingName, Buildings.MasterPlanCode, Buildings.UniformBuildingCode,...
2
by: gpo | last post by:
I've got a table with duplicates, and I want to query the table without duplicates. my table :HOUSE column : Name col2 :DOA col3 : Postcode How is it done?
0
MMcCarthy
by: MMcCarthy | last post by:
The more data you include in your tables the more you will need to have indexes to search and sort that data. However, there is a balance between having enough indexes and too many. Too many...
4
by: N2Deep | last post by:
I have a table named SUPPORT DATA, I have a field named Serial Number. In the Serial Number field I have many duplicates, and I only want one of each. Sample serials ABB045000MG, JBX05050016 ...
0
by: csin | last post by:
I have an Access DB backend for the application I am running, I want to use the built in ability in Access to remove duplicate entries... Say I have table1 with fields field1 field2 and field3,...
1
by: tskmjk55 | last post by:
Recently, I have a requirement to develop a vb.net application wherein the input excel sheet data which has an average of 5000 records should be checked for Internal duplicates (duplicates within the...
0
by: JonTwend | last post by:
I am working with the Twitter API and finding it great fun and generally easy to use. But I am having trouble getting to the data in the trends/current.json file. I am able to loop through the...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.