473,775 Members | 2,263 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Upsizing currency fields

This question appeared years ago in the context of Acc2K and SQL
Server 7, but no replies were posted. HOWEVER!! It still seems to be a
problem with Acc XP and SQL Server 2000. Surely someone has a fix 6
years down the line...

I used the Upsizing Wizard to build a SQL database from an Access
back-end and link it to the Access f/e. All the data appear to have
gone across OK as viewed from Enterprise Manager, but from the
front-end all Currency fields appear empty.
The b/e definition is Money, length 8, precision 19, scale 4; in the
f/e it's Currency, Decimal places 4.

Dave
Nov 13 '05 #1
3 2040
This has got me completely baffled! I generated another copy of a
table containing a currency field, this time using DTS to create the
SQL Server table. The currency data duly appeared in the Access
front-end. However, it also was now visible in other tables where
formerly it had been hidden. What's worse, after trying some forms in
the application front-end and seeing no currency data through them, I
went back to the table datasheet view and sure enough the currency
data had become invisible again! I have logged into/out of SQL Server
and stopped/started Access several times, refreshed links, and the
data has reappeared and disappeared with no discernable pattern to
date. One interesting note is that when a currency field's data is
'hidden' in Access, zero values DO appear, i.e. only non-zero values -
in practice the vast majority - are not visible. Short of redefining
all Currency columns as Numbers, I have no idea how to proceed, so any
suggestions welcome.

Dave
D.*****@ed.ac.u k (Dave Stone) wrote in message news:<1a******* *************** ****@posting.go ogle.com>...
This question appeared years ago in the context of Acc2K and SQL
Server 7, but no replies were posted. HOWEVER!! It still seems to be a
problem with Acc XP and SQL Server 2000. Surely someone has a fix 6
years down the line...

I used the Upsizing Wizard to build a SQL database from an Access
back-end and link it to the Access f/e. All the data appear to have
gone across OK as viewed from Enterprise Manager, but from the
front-end all Currency fields appear empty.
The b/e definition is Money, length 8, precision 19, scale 4; in the
f/e it's Currency, Decimal places 4.

Dave

Nov 13 '05 #2
Dave Stone wrote:
This has got me completely baffled! I generated another copy of a
table containing a currency field, this time using DTS to create the
SQL Server table. The currency data duly appeared in the Access
front-end. However, it also was now visible in other tables where
formerly it had been hidden. What's worse, after trying some forms in
the application front-end and seeing no currency data through them, I
went back to the table datasheet view and sure enough the currency
data had become invisible again! I have logged into/out of SQL Server
and stopped/started Access several times, refreshed links, and the
data has reappeared and disappeared with no discernable pattern to
date. One interesting note is that when a currency field's data is
'hidden' in Access, zero values DO appear, i.e. only non-zero values -
in practice the vast majority - are not visible. Short of redefining
all Currency columns as Numbers, I have no idea how to proceed, so any
suggestions welcome.


Is your ODBC driver current? I have never seen this behavior, but I have
never used the upsize wizard either.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #3
"Rick Brandt" <ri*********@ho tmail.com> wrote in message news:<39******* ******@individu al.net>...

Is your ODBC driver current? I have never seen this behavior, but I have
never used the upsize wizard either.


I'm using 2000.85.1117.0 dated 4/8/2004, so fairly up-to-date though
it may not be the latest. I haven't seen any reference on Technet to
this problem. Further testing actually reduced it to the following
sequence:
- View table A in datasheet view: currency column data visible
- Close table A
- Open table B in datasheet view: currency column data invisible
(except if zero)
- Close table B
- View table A in datasheet view: currency column data invisible
!!!!

I have since tried various measures to circumvent this difficulty. I
hesitate to prescribe the following as a trusted procedure - it's too
early to talk of trust! However, I have money fields in SQL Server
which were upsized from Access currency columns, and I can see the
values from the Access front-end. What appeared to work was (1)not
selecting 'use regional settings...' when setting up the ODBC
datasource (2)choosing triggers rather than DRI for upsizing
integrity. I was a bit nonplussed to find that the triggers were not
generated if the wizard was run on the Access front-end, only if on
the back-end. This meant the automatic relinking that the wizard does
was on the wrong database and had to be rectified by hand which could
be tiresome for a large database.

Hope this of use to other benighted upsizers out there!

Dave
Nov 13 '05 #4

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

Similar topics

1
12298
by: Brandon McCombs | last post by:
hello, I have an app that pops up a custom dialog box and one of the fields for user input is an account balance field. The data gets put into an Object and eventually into an instance of DefaultListModel. When I use getText() on the field I pass it to Double.parseDouble to convert it so I can store it as a number and not a string. When I display it (either in the list or in the dialog box) I want it to be displayed using currency...
2
2300
by: Micromanaged | last post by:
In my response.write line, I need to format a field to be a currency value. Is there a quick and dirty way to do it or is it an involved edit? Here is my code: Response.Write("<td>" & WhataRecordset.Fields.Item(0).Value & "</td><td>" & WhataRecordset.Fields.Item(1).Value & _ "</td><td>" & WhataRecordset.Fields.Item(2).Value & "</td><td>" & WhataRecordset.Fields.Item(3).Value & _ "</td><td>" & WhataRecordset.Fields.Item(4).Value &...
0
1814
by: ImraneA | last post by:
Hi there I had pleasure of upsizing Access v97 db to Access v2K/SQL 2K. Wish to provide some knowledge gained back to community - hopefully help others. 1.Using Upsizing wizard - will either work or not. For me it did not. Why ?
3
13535
by: Melissa | last post by:
I have several fields in my database specified as Currency data type. Is there a way globally to set these fields not to display the dollar sign? Thanks! Melissa
2
1536
by: Big Time | last post by:
I have an Access 2000 DB that I've been considering upsizing to SQL Server 2K. I'm wondering if anyone can share their experiences in upsizing and let me know of any tips or pratfalls. I've been playing around with the upsize wizard however not all of my tables have properly converted. None of the primary keys transfer (I understand this is a limitation) and the whole thing hasn't really worked the way I thought it would. I have tried...
1
3821
by: Tom Keane | last post by:
Hi, I need some helpings again! I have a query from one of my tables that gets a total amount of money and gets a percentage from it ie, the field I create in the query is invGSTAmount from a field in my table called invAmount, so I but in the design view of my query: invGSTAmount: *1/11
2
2867
by: David Nunn | last post by:
Need to preface that I am not much of an Access type. Doing I have several tables that have currency fields, which I run queries against to compare the figures in both. The data is imported from Excel spreadsheets supplied by different parties, over which I have no control. My problem is that whilst several parties supply the spreadsheets with the currency fields containing two figures to the right of the decimal place (ie 123.51,...
0
1202
by: dave | last post by:
Hi everyone, I am using the Upsizing Tool in Access 2002 to upsize to SQLServer 2000. I am finding that the data type number (field size: double) when upsized is turned into a float type. What is disconcerting is that the upsizer appears to be adding data to the end of the value. What starts off as 283.456 ends up as 283.4560000000003 or something like that. Does anyone have any idea what might cause this and/or a way to stop this...
2
3885
by: Ian | last post by:
I have an Access 2000 database written in the UK, this database has many fields set to Currency, I now want to move this database over to a user in the USA but my Currency fields still show the UK £ sign. If I look at these currency fields on my UK PC with it set to regional UK (not USA) then the fields format settings just say Currency, if I then add the USA region to my PC and look at the format again it says: £#,##0.00;-£#,##0.00 I...
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10267
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10106
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10046
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9915
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6717
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4014
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3611
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.