PC Review


Reply
Thread Tools Rate Thread

Data changes in append query

 
 
alecgreen
Guest
Posts: n/a
 
      14th Sep 2010
Hi

I have a problem that I thought would be easy to resolve, but can't. I
am appending data from a query to a new table. The data in the
original query is a calculated field, producing a value say "1.58" but
when I run the append query to transfer tha data to the new table -
its shows "2" in the new table instead of the correct value of "1.58"

Any ideas please

Alec
 
Reply With Quote
 
 
 
 
John W. Vinson
Guest
Posts: n/a
 
      14th Sep 2010
On Tue, 14 Sep 2010 13:19:08 -0700 (PDT), alecgreen <(E-Mail Removed)>
wrote:

>Hi
>
>I have a problem that I thought would be easy to resolve, but can't. I
>am appending data from a query to a new table. The data in the
>original query is a calculated field, producing a value say "1.58" but
>when I run the append query to transfer tha data to the new table -
>its shows "2" in the new table instead of the correct value of "1.58"
>
>Any ideas please
>
>Alec


Sounds like the datatype in the target table is the default Long Integer type
of Number. Integers are by definition whole numbers, and Access will round.

Change the datatype to something which will support decimals - a Currency
field if four decimals are appropriate, or a Number... Single Float, Number...
Double Float, or Number... Decimal datatype as appropriate for your needs.
--

John W. Vinson [MVP]
Microsoft's replacements for these newsgroups:
http://social.msdn.microsoft.com/For...-US/accessdev/
http://social.answers.microsoft.com/.../en-US/addbuz/
and see also http://www.utteraccess.com
 
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
Creating a query to append new data as well as deleting old data =?Utf-8?B?SmltIEhhemVu?= Microsoft Access Queries 1 5th Jan 2006 12:11 AM
Link CSV file created query append query to append data =?Utf-8?B?ZXNwYXJ6YW9uZQ==?= Microsoft Access Queries 2 5th Jul 2005 04:49 PM
Append Query Duplicating Data CQ Microsoft Access Queries 3 7th Oct 2004 08:24 PM
Append query that parses data Grace Microsoft Access Queries 1 19th Mar 2004 01:11 AM
Append Query - Modify Data Mark Microsoft Access Queries 3 4th Nov 2003 10:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:17 AM.