User Profile
Collapse
-
Hello - the original field in the database was integer, but was converted to binary(16). At any rate, I am able to read it now with the .GetBytes method, but I never though of doing a cast - something to remember in the future. I'm updating someone else's code and it is a real nightmare. If I had to do it over again I would have told the client that I am rewriting the damn thing from scratch. Thanks for your suggestion. -
Reading Binary(16) field problem
I am working with a sql server database. Due to a database udgrade, sever fields which were integer are now binary(16). These fields are used for joins later in the VB project. The problem I am haveing is that I have no idea how to read in the binary field! Here is the original code(using Visual Studio 08):
strRptPars(iCou nt).lID = adoOleDbDataRea der.GetInt32(i)
Originally strRptPars(iCou nt).lID was defined as LONG....
No activity results to display
Show More
Leave a comment: