RE: vb6/ADO 2.8/ DB2
- From: OldVaxGuy <OldVaxGuy@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 9 Apr 2008 03:48:01 -0700
I need to clarify: the actual data returned is 98,99,100,101 but in my vb
app the value 100 is actually returned as 1 ('Yes' to Daniel). When I use
another tool to do the query (Hummingbird BI Query) I see the correct values
(100,1000, etc). the sql is quite simple: 'SELECT * FROM Table ORDER BY
Table.jField'. When I loop thru the recordset looking at jField (datatype
long) I get:
....98,99,1,101,...999,1,1001,..1049,105,1051...
"OldVaxGuy" wrote:
I'm getting data from a DB2 database in a vb6 application. When longs are.
returned it seems like trailing zeros are dropped ie I get a sequence of
values like 98,99,1,101. Any clues?
- Follow-Ups:
- Re: vb6/ADO 2.8/ DB2
- From: Bob Barrows [MVP]
- Re: vb6/ADO 2.8/ DB2
- References:
- vb6/ADO 2.8/ DB2
- From: OldVaxGuy
- vb6/ADO 2.8/ DB2
- Prev by Date: Re: vb6/ADO 2.8/ DB2
- Next by Date: Re: vb6/ADO 2.8/ DB2
- Previous by thread: Re: vb6/ADO 2.8/ DB2
- Next by thread: Re: vb6/ADO 2.8/ DB2
- Index(es):
Relevant Pages
|
|