Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 2nd, 2007, 12:38 PM
Authorized User
 
Join Date: Sep 2006
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Default MS Access Query

Hi,

I have created a variable that is 22 digits long. For testing purposes I have written out this value on the asp.net page and it seems to work fine.

However when I update this value into a table in a MS Access database, I note that MS Access replaces the last eight digits with a zero.

Thus the value 7349927610203200716285 is written on the page , but in MS Access appears as 7349927610203200000000.

I have set the data types within the table in the database and within the asp.net code as double. I've also reduced the length of the variable to 16 digits long, but this issue still happens.

I'm using MS Access version 2002, but the actual database file is version 2000. Is this a bug or is MS Access working as it should ?

Thanks,


 
Old March 4th, 2007, 10:01 AM
Authorized User
 
Join Date: Sep 2006
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Resoloved it now - thanks

 
Old March 20th, 2007, 12:32 PM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
Default

How did you resolve the problem?

Thanks,
Richard








Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Access Query neha2007 SQL Language 1 July 12th, 2007 10:11 AM
ms access query umeshtheone VB Databases Basics 1 June 1st, 2007 10:27 AM
I am trying to convert a MS Access Query to a SQL? WebLadyBug SQL Server ASP 3 March 9th, 2007 12:39 PM
MS Access Query sunny76 Access 4 October 18th, 2006 06:54 AM
Ms Access stored query problem turker Classic ASP Databases 0 December 27th, 2005 01:38 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.