Solved

MS SQL Server field with Data type of Money shows empty field in MS ACCESS linked table

Posted on 2014-11-25
17
219 Views
Last Modified: 2014-11-30
Hi

I have recently moved to SQL Server 2012/Access 2013.

I use MS Access to export and link data from SQL Server, the system has worked fine for years, but after moving to SQL Server 2012 and Access 2013 any MSSQL fields that are of Data type MONEY show as empty fields in the MS Access, unless the value is £0.00.

I have Googled this in various forums and see that other people have overcome the problem by changing the datatype to numeric in MSSQL, however this not an option for me!

I have attached
MS-ACCESS-2013.png
MS-SQL-Server-2012.png
0
Comment
Question by:rwlloyd71
  • 8
  • 5
  • 3
  • +1
17 Comments
 
LVL 46

Expert Comment

by:Vitor Montalvão
ID: 40464283
What's the data type in Access? The correct one should be Currency.
0
 

Author Comment

by:rwlloyd71
ID: 40464287
Hi Vitor

The datatype shows up at currency, but it can't be changed anyway as it is a linked table.
0
 
LVL 33

Expert Comment

by:ste5an
ID: 40464342
hmm, and a custom format on the Access side? What results do you get with a passthrough query?
0
 

Accepted Solution

by:
rwlloyd71 earned 0 total points
ID: 40464402
Not sure what I have or how I have done it, but glad to say that it is now working. It may be to do with the ODBC drivers that I was using.

Thanks for all your help anyway!
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 40464431
So you reverted to the "SQL Server" driver?

/gustav
0
 

Author Comment

by:rwlloyd71
ID: 40464440
Would not like to comment, as I tried so many things! "All's well that ends well"!
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 40464444
OK, but which driver did you end up with?

/gustav
0
 
LVL 46

Expert Comment

by:Vitor Montalvão
ID: 40464465
@rwlloyd:
You should share with us what you did to solve the issue. This might be important for someone in the future with the same issue.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:rwlloyd71
ID: 40464485
As I said earlier, I could not exactly tell you what I did to resolve the problem. If I new I would tell you! The drivers on the server that seem to work are as per the attached screen shot.

NB this may be nothing to do with resolving the problem.
driver.jpg
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 40464534
Yes, those are the possible two ... but you only use one, and which may indicate a (or even the) solution.

Just hold the mouse steady over the linked table name in the Navigation window, and the Tool will show the full connection info including DRIVER=SQL S..?

/gustav
0
 

Author Comment

by:rwlloyd71
ID: 40464537
ODBC;DSN=MSSQL;UID=sa;APP=Microsoft Office 2010;DATABASE=sl_xxxxxxxxxxx;TABLE=dbo.TblXxxxxxxxxx
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 40464544
I see. Then - in the ODBC Manager from where you took the screenshot - there will be an entry named MSSQL.
Look up the properties of this. This will reveal the driver.

/gustav
0
 

Author Comment

by:rwlloyd71
ID: 40464551
SQL NATIVE SERVER CLIENT 11.0
0
 
LVL 46

Expert Comment

by:Vitor Montalvão
ID: 40464556
That's the client for SQL Server 2012, so makes sense.
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 40464560
That's it. Thank you the info and for your time.

/gustav
0
 

Author Comment

by:rwlloyd71
ID: 40464630
No worries. Hope it helps someone!
0
 

Author Closing Comment

by:rwlloyd71
ID: 40472327
Trial and error!
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now