Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access 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 October 21st, 2010, 10:05 PM
Registered User
 
Join Date: Oct 2010
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Boyd,

My problem today.........just when I solve one problem another is created. I think I might go straight to SSRS and give MS Access a miss.

Deep breath..

I have created a pass through query, used a DNS less connection string, works great - except for only accessing 151 columns in the table and not the full 168.

To test this is used this as my pass through query

Code:
SELECT SO.NAME AS "Table Name", SC.NAME AS "Column Name", SM.TEXT AS "Default Value" 
FROM dbo.sysobjects SO INNER JOIN dbo.syscolumns SC ON SO.id = SC.id 
LEFT JOIN dbo.syscomments SM ON SC.cdefault = SM.id  
WHERE SO.xtype = 'U'  and SO.name = 'Chart5'
ORDER BY SO.[name], SC.colid
And only 151 rows came back.

Why is this being restricted?

Do I need to create a view in MS SQL the source?

Thanks yet again.

David
 
Old October 22nd, 2010, 04:05 PM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

Pure guess: Because the other 17 columns are of a datatype that Access doesn't/can't support???

Find out what the data types are of the missing columns?
 
Old October 22nd, 2010, 04:49 PM
Registered User
 
Join Date: Oct 2010
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Sorry hold the phone........

I am looking at the old version of the database that has only 151 columns in this table. The new version has 168. So sorry. Brain fart, etc.

David
 
Old October 22nd, 2010, 04:56 PM
Friend of Wrox
 
Join Date: Sep 2010
Posts: 245
Thanks: 5
Thanked 24 Times in 23 Posts
Default

David,

Thank you for the update.

Glad to hear you have it sorted out.
__________________
Boyd Trimmell aka HiTechCoach (.com)
Microsoft Access MVP Alumni 2010-2015





Similar Threads
Thread Thread Starter Forum Replies Last Post
16 bit MS-DOS Subsystem = Error in Windows, what should I do? arbab Windows Workflow 0 April 12th, 2009 08:08 AM
MS ACCESS 2003 FRONTEND AND MS SQL SERVER 2005 DB mohankumar0709 SQL Server 2005 3 March 23rd, 2007 12:48 AM
64 Bit - Issue in 64 bit IIS calling Win32 API Hubman General .NET 1 August 24th, 2006 09:19 AM
mask of search with fields checkbox fdmfdm Access VBA 2 November 17th, 2003 02:27 PM
Hexadecimal numbers in MS SQL Server 7 notChavez SQL Server 2000 3 June 19th, 2003 08:07 PM





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