odbc wrapper

new topic     » topic index » view thread      » older message » newer message

Matt, I think there is a bug in function getData. I was losing a character
in a data field(a very long data field) about every 256 chars. The data field
was an invoice text field that was a page or 2 of characters. I changed this 
line below (removed the "-1" and the character loss went away. Could you check
what I did(a shot in the dark) and make sure it was a correct change. I am
not at all sure of what I did.

-- have to call repeatedly, since data was too big for the
                    -- buffer
                    while len > mylen do
data[row][i] &= peek( { ptr1, mylen }
                        )--<<<<<<<<<<<<<<<<<<< removed the -1 which was mylen-1
                        ok = c_func( SQLGetData, { hs, i, SQL_C_DEFAULT,
                            ptr1, mylen, ptr2 } )
                        len = peek4s( ptr2 )

                    end while


new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu