converting long in Access to ????

  • Thread starter Thread starter G.Esmeijer
  • Start date Start date
G

G.Esmeijer

Friends,
I have an existing access database with fields of type long.

How do I read these into my application

Reading an field Modelcode of type integer works fine with the following
line of code
modelcode = sdrSC.GetInt32(sdrSC.GetOrdinal("MODELCODE"));

How to handle if if the type is not of type integer but of type Long??

regards

gerrit esmeijer
 
...
I have an existing access database with fields of type long.
modelcode = sdrSC.GetInt32(sdrSC.GetOrdinal("MODELCODE"));

How to handle if if the type is not of type
integer but of type Long??

You could try GetInt64( )

// Bjorn A
 
Back
Top