|
I'm working on a program to fetch records from a table where
some of the fields are defined as null and others defined as
not null. I am doing a multiple row fetch and what happens is
the first row returned is fine but every row after that is
shifted four bytes as if there are four bytes missing from the
buffer. I don't think it is a coincidence that there are two
non-null capable fields in the result row and the indicator size
is two bytes for a total of four bytes. I have tried changing the
size of the indicator array but it didn't help. Before the table
was changed to allow nulls this same fetch was returning the
records correctly.
<<SNIP>>
// Format of returned SQL record.
d ResultSet ds Dim(340) Qualified
<<SNIP>>
d ReceivedBack Like(RcvdBack)
<<SNIP>>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.