473,386 Members | 1,860 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,386 software developers and data experts.

Why is my Query returning double values?

I have a simple query on just one table - quite basic.
I have imported the table from Excel - it kept leaving out 6 rows of data.

When in importing I put the first fields where I believed were the problem and indexed them with 'Yes - No duplicates'

That seemed to bring all the data but the values are doubling still.

I checked the fields on which the Query is based and noticed some were set to double - no idea if this relevant.

Many thanks,
Jul 17 '13 #1
3 4107
Rabbit
12,516 Expert Mod 8TB
We would need to see SQL for the query.
Jul 17 '13 #2
zmbd
5,501 Expert Mod 4TB
Yes, very much need to see the SQL, open the Query in design view, right click in an empty space next to the tables, select SQL View from the menu.
<CtrlV> to copy, return here, click on the [CODE/] format button and <CtrlC> to insert the copied text BETWEEN the two code tags.


When you say double do you mean:
Duplicate entries or do you mean the value multiplied by 2?

As for the double in the field, if what you mean is that you opened the table in design view, selected the field, in the grid next to the field would be "Numeric" and in the grid below you have "double," that means that the data type is numeric with a double size...
---
Introduction to data types and field properties
Every table is made up of fields (field: An element of a table that contains a specific item of information, such as a last name. A Title field might contain Mr. or Ms. Databases such as Microsoft SQL Server refer to fields as columns.). The properties of a field describe the characteristics and behavior of data added to that field. A field's data type is the most important property because it determines what kind of data the field can store. This article describes the data types and other field properties available in Microsoft Access 2010, and includes additional information in a detailed data type reference section
---
Jul 17 '13 #3
Hi,

Yes, I should have said Values x 2

Not available now but will load tomorrow
Jul 17 '13 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: swhite76 | last post by:
I have a section of code that adds some double values and gives an incorrect result. This occurs with data that isn't really waht I would call high precision. An example is the following code...
4
by: MFRASER | last post by:
How can I compare two double values and return the greater of the two values? example double doublea = 1.0; double doubleb = 2.0 double retVal = ?compare doublea and doubleb
9
by: Karl O. Pinc | last post by:
I want to return multiple values, but not a set, only a single row, from a plpgsql function and I can't seem to get it to work. (I suppose I'd be happy to return a set, but I can't seem to make...
3
by: Sim Zacks | last post by:
I am using 8.0 beta 1 on an RH 8 Linux server. I have a union query that I am converting from access (where it worked) and it is returning duplicates. The only difference between the two rows is...
19
by: nickyeng | last post by:
i have a question from my paper, which i dont have the correct answer, so here i asking anyone who can help, provide me the appropriate answer. ----------------------------------- Write a class...
3
by: ishwarbg | last post by:
Hi Everyone, I have a .Net Application, through which I am invoking a function from a legacy DLL developed in C++. My structure in C# contains some data of type double which I need to pass to to...
7
by: arnuld | last post by:
/* C++ Primer - 4/e * * 1st example from section 7.2.2, page 234 * returning 2 values from a function * * STATEMENT: * to find a specific value in a vector and number of times * that...
2
by: =?Utf-8?B?Z2luYWNyZXNzZQ==?= | last post by:
I've been developing an application using Visual Studio 2005 for a few months, and suddenly it is returning hex values in the watchlist when I'm stepping through code to debug. Is there some...
3
by: karmjit435 | last post by:
I have a c++ component. It exposes an API which accept two double values: say: void Multiply(double a, double b); if i call this API from a C# code using PInoke and pass the values a=199.4225...
9
by: Adrian Tache | last post by:
Hi all, I'm having a serious issue with a sum returning double the amount it should. I'm including the code below maybe you guys can see the problem: SELECT clients.clientreadableid,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...

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.