User Profile

Collapse

Profile Sidebar

Collapse
RoddyPiper
RoddyPiper
Last Activity: Apr 20 '09, 12:39 PM
Joined: Apr 7 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 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.
    See more | Go to post

    Leave a comment:


  • RoddyPiper
    started a topic Reading Binary(16) field problem

    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....
    See more | Go to post
No activity results to display
Show More
Working...