Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
| Search | Today's Posts | Mark Forums Read
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 May 27th, 2004, 10:36 AM
Registered User
 
Join Date: May 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ADOX MSDASQL Access Properties Collection is EMPTY

Due to alphabet ordering of "Columns" in a "Table" while reading MS Access "Catalog" using Jet I am using ODBC MS Access driver and OLEDB for ODBC provider:

CString sConn = _T("Provider=MSDASQL.1;Persist Security Info=False;Data Source=MS Access Database;Extended Properties=\"DSN=MS Access Database;DriverId=25;FIL=MS Access;MaxBufferSize=2048;PageTimeout=5;DBQ=");
sConn += lpsJobPath;
sConn += _T(";\"");

All work fine, but Properties collection for Columns is empty. So I do not know "Default" values and "Seed" values.
While using Jet there is no such problem.


I am going to read Catalog with Jet first (temporary storing needed properties) then second time with ODBC...
But may be there is a better solution???




Similar Threads
Thread Thread Starter Forum Replies Last Post
setting Collection properties for user control PurpleHaze VS.NET 2002/2003 2 December 30th, 2008 02:41 AM
Dealing with empty properties Quick209 Java Basics 4 June 5th, 2006 08:03 PM
Modifying collection properties eadred General .NET 3 January 17th, 2006 12:57 PM
Access ADOX - delete PK Derek_05 Access 0 December 14th, 2005 10:56 AM
How to check if collection is empty Ciarano Beginning VB 6 2 March 5th, 2004 08:11 AM





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