D
Dan
Hi. I'm having a problem with searching a databse entry. I'm new to dotnet
and still trying to figure some things out.
In order to locate a row in an access databse file .mdb, i am using this
call
Dim dr As DataRow
dr = Me.DsMaster.Tables("MasterList").Rows.Find(Me.txtScan.Text)
where me.txtscan.text is a value from 2 to 9323493000236.
when searching for smaller values i have nu problem. but when i search for
the larger values i get an error.
An unhandled exception of type 'System.OverflowException' occurred in
mscorlib.dll
Additional information: Value was either too large or too small for an
Int32.
I have tried converting but i still get the same error. I need to be able to
search for these values as they are unit ID numbers. Is there a way to do
this?
Perhaps there is a better way to search the database for the row containing
the data? Any help would be great.
Thanks alot
Dan Butler
(e-mail address removed)
and still trying to figure some things out.
In order to locate a row in an access databse file .mdb, i am using this
call
Dim dr As DataRow
dr = Me.DsMaster.Tables("MasterList").Rows.Find(Me.txtScan.Text)
where me.txtscan.text is a value from 2 to 9323493000236.
when searching for smaller values i have nu problem. but when i search for
the larger values i get an error.
An unhandled exception of type 'System.OverflowException' occurred in
mscorlib.dll
Additional information: Value was either too large or too small for an
Int32.
I have tried converting but i still get the same error. I need to be able to
search for these values as they are unit ID numbers. Is there a way to do
this?
Perhaps there is a better way to search the database for the row containing
the data? Any help would be great.
Thanks alot
Dan Butler
(e-mail address removed)