Home > Archive > SQL Anywhere ultralite > May 2005 > pResultSetSchema->GetColumnID(ulValue) fails when column doesn't exist









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author pResultSetSchema->GetColumnID(ulValue) fails when column doesn't exist
Timothy Dean

2005-05-05, 8:23 pm

I have seen several cases where pResultSetSchema-> GetColumnID(ulValue)
will
crash when attempting to retrieve a column by name when that column doesn't
exist in the result set. It should generating a SQLE_COLUMN_NOT_FOUN
D. Is
there a safer way to retrieve the column ID by name to insure it won't
crash? I suppose I could "walk" the columns in the result set until I find
the column I want, but that would not be very efficient. Thanks.

Timothy Dean


Philippe Bertrand

2005-05-06, 1:23 pm

Please post version and build number!

--
- Philippe Bertrand
iAnywhere Solutions, Inc.

Please include in your subject line what UltraLite API are you using
(I.E. UltraLite.NET, Native UltraLite for Java, Embedded SQL, C++,
(pure) Static Java UltraLite, etc.). Please include version and BUILD
numbers in your post.


Timothy Dean

2005-05-09, 8:23 pm

Ultralite C++ Component api, 9.0.2.3044

"Philippe Bertrand" <my.name@ianywhere.com> wrote in message
news:427ba203@forums
-1-dub...
> Please post version and build number!
>
> --
> - Philippe Bertrand
> iAnywhere Solutions, Inc.
>
> Please include in your subject line what UltraLite API are you using
> (I.E. UltraLite.NET, Native UltraLite for Java, Embedded SQL, C++,
> (pure) Static Java UltraLite, etc.). Please include version and BUILD
> numbers in your post.
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com