By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,362 Members | 1,344 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,362 IT Pros & Developers. It's quick & easy.

Bigint from a SQL Server table and viewing with Access

P: n/a
HI all, we have a table that has it's primary key data type Bigint. Is
there any way with Access to view this table? I find it hard to
believe that two tools from MS don't play nice with each other, may be
I should.

SQL Server 2005
Access 2003

TIA
Mar 17 '08 #1
Share this Question
Share on Google+
5 Replies


P: n/a
I have seen this problem and it was driver dependent. If I recall correctly
the ODBC driver was problematic, but using OLEDB was fine. You can try to
change drivers if you have different drivers available.

Another work around would be to create a view in SQL Server to cast the
problematic BIGINT column to a different data type (if numbers are smaller
you can try INT, otherwise VARCHAR). Then use the view from Access.

HTH,

Plamen Ratchev
http://www.SQLStudio.com

Mar 17 '08 #2

P: n/a
On Mar 17, 10:32*am, "Plamen Ratchev" <Pla...@SQLStudio.comwrote:
I have seen this problem and it was driver dependent. If I recall correctly
the ODBC driver was problematic, but using OLEDB was fine. You can try to
change drivers if you have different drivers available.

Another work around would be to create a view in SQL Server to cast the
problematic BIGINT column to a different data type (if numbers are smaller
you can try INT, otherwise VARCHAR). Then use the view from Access.

HTH,

Plamen Ratchevhttp://www.SQLStudio.com
Thanks Plamen, kind of feeling dense right now, how do you add a view
in Access? I created a view in SQL Server but can't find the view in
Access. Any quick hints on how to do that?

Thanks!
Mar 17 '08 #3

P: n/a
Views are treated the same as tables. When you link tables in Access and you
point to SQL Server, it should pull both the tables and views in one list (I
believe it is labeled tables, but the views should be in that list too).

HTH,

Plamen Ratchev
http://www.SQLStudio.com

Mar 17 '08 #4

P: n/a
Aye, I was looking at the wrong server. Got it now. However, can we
edit the data in a view from Access? Especially when casting the
primary key to a varchar? This is encouraging so far. Great for
running Access reports if they need it.

Thanks for your help!
Mar 17 '08 #5

P: n/a
I am not sure how this will work with editing data. Access will need the
primary key and it may or may not like the casted column. Try posting in the
MS Access related forums for more help.

HTH,

Plamen Ratchev
http://www.SQLStudio.com

Mar 17 '08 #6

This discussion thread is closed

Replies have been disabled for this discussion.