Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 304
  • Last Modified:

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

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
rwlloyd71
Asked:
rwlloyd71
  • 8
  • 5
  • 3
  • +1
1 Solution
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
What's the data type in Access? The correct one should be Currency.
0
 
rwlloyd71Author Commented:
Hi Vitor

The datatype shows up at currency, but it can't be changed anyway as it is a linked table.
0
 
ste5anSenior DeveloperCommented:
hmm, and a custom format on the Access side? What results do you get with a passthrough query?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
rwlloyd71Author Commented:
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
 
Gustav BrockCIOCommented:
So you reverted to the "SQL Server" driver?

/gustav
0
 
rwlloyd71Author Commented:
Would not like to comment, as I tried so many things! "All's well that ends well"!
0
 
Gustav BrockCIOCommented:
OK, but which driver did you end up with?

/gustav
0
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
@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
 
rwlloyd71Author Commented:
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
 
Gustav BrockCIOCommented:
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
 
rwlloyd71Author Commented:
ODBC;DSN=MSSQL;UID=sa;APP=Microsoft Office 2010;DATABASE=sl_xxxxxxxxxxx;TABLE=dbo.TblXxxxxxxxxx
0
 
Gustav BrockCIOCommented:
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
 
rwlloyd71Author Commented:
SQL NATIVE SERVER CLIENT 11.0
0
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
That's the client for SQL Server 2012, so makes sense.
0
 
Gustav BrockCIOCommented:
That's it. Thank you the info and for your time.

/gustav
0
 
rwlloyd71Author Commented:
No worries. Hope it helps someone!
0
 
rwlloyd71Author Commented:
Trial and error!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 8
  • 5
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now