ADODB Recordset Error On Sort

Tech-Archive recommends: Fix windows errors by optimizing your registry



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.

.



Relevant Pages

  • Re: Trouble with a capital UBLE
    ... Ok,I have this friend of a friend who has trouble with a ... you know the sort. ... it is her little Trouble with a capital UBLE she can drag about the ... wimmin are all the same so don't worry about it. ...
    (soc.culture.irish)
  • Re: I dig stumperings.....
    ... infinite impregnability where no-one's troubled by buses. ... suggesting both within and among the keys. ... but one went sort of like this. ...
    (talk.religion.buddhism)
  • Re: [PATCH 0/9] x86-64 put current in r10
    ... So this sort of change (breaking out-of-tree ... who want to break binary compatibility occationally on purpose, ... Their trouble is a non-issue. ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: Trade
    ... Well, sort of. ... He has definitely gotten in trouble off the field. ... The one on-field thing Moss did that I have a problem was leaving the game ...
    (alt.sports.football.pro.ne-patriots)
  • Re: Sorting objects in ooRex? is this possible with data structures?
    ... Currently the only sort available in ooRexx is SysStemSort and it ... In ooRexx 3.2 there are several new sort methods coming. ... Field Type: Smallint ... I checked out the data structures but I couldn't find any good ...
    (comp.lang.rexx)