Re: vb6/ADO 2.8/ DB2




"OldVaxGuy" <OldVaxGuy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:46EC5434-1316-45D3-B679-4F6D1E55D242@xxxxxxxxxxxxxxxx
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?

Are you saying that the value of "98,000" is being returned as "98"?

Or did you really mean that *leading* zeros are being dropped. ie, "00098"
is returned as "98"?
[If this is the case then this is to be expected as "formatting" of a number
is not preserved as part of the value.]

You need to provide a few more details.

-ralph


.



Relevant Pages

  • Re: vb6/ADO 2.8/ DB2
    ... longs are returned it seems like trailing zeros are dropped ie I get ... a sequence of values like 98,99,1,101. ... Any clues? ... Please reply to the newsgroup. ...
    (microsoft.public.data.ado)
  • Re: vb6/ADO 2.8/ DB2
    ... are returned it seems like trailing zeros are dropped ie I get a ... sequence of values like 98,99,1,101. ... Any clues? ... Dan ...
    (microsoft.public.data.ado)
  • Re: monitor a group events
    ... For instance the javascript date object ... give clues, that MS wsh will output the 'correct' ... sequence of montg|day|year anyway. ...
    (microsoft.public.scripting.wsh)
  • Re: PVPCWC #28 ballot
    ... With sixteen clues, I get more like one in a trillion. ... this is not the probability that this ... sequence had been generated randomly it would have come out this way. ...
    (rec.puzzles.crosswords)
  • Re: The points of FFT transform
    ... If the length of X is less than n, X is padded with trailing zeros ... If the length of X is greater than n, the sequence X is truncated. ... If we want to do a DFT of a sequence of discrete signal X, ... What is the proper points for DFT? ...
    (comp.dsp)