Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / November 2006

Tip: Looking for answers? Try searching our database.

ADODB Recordset Error On Sort

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
misterqj@gmail.com - 22 Nov 2006 22:41 GMT
I am working on an application that integrates with another app that
exposes its database thru ADODB. I can get a recordset without any
trouble, but I get a strange error when I call db.sort = "field".

The error is:

An unhandled exception of type
'System.Runtime.InteropServices.COMException' occurred in dbtest.exe

Additional information: Relate, Compute By, and Sort operations cannot
be performed on column(s) whose defined size is unknown or too large.

I have googled, and checked out MSDN to no avail. The only additional
info I have is that the field I am trying to sort by is defined as
LongVarChar. Is it not possible to sort by this field type? Is there
any way around this problem?

Thanks for your insight.
Cindy M. - 25 Nov 2006 11:44 GMT
The ADO newsgroup is the better place to ask this question. It would
probably help them if you can post the connection string and database
type.

http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.da
ta.ado&lang=en&cr=US

> I am working on an application that integrates with another app that
> exposes its database thru ADODB. I can get a recordset without any
[quoted text clipped - 12 lines]
> LongVarChar. Is it not possible to sort by this field type? Is there
> any way around this problem?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :-)

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.