Error message when running code to load data from Access database

Tags:
Microsoft Access
Value of '-1' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'. Parameter name: Value. I'm getting this message when I was running the code to load data from Access database.
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

if the data is not taking means data type may be different. you need to put constraints in order to get value between minimum and maximum.I guess you might be loading data from Access to some other database where the conversion is failed due to type mismatch.

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • TheRealRaven
    ...running the code to load data from Access database.

    Running "the code"? What code? And "from" Access database? To what?
    32,380 pointsBadges:
    report
  • AjitK29
    Please do check that the maximum value has been set correctly before assigned.

    Where did you define the maximum and minimum value? Make sure it is before you assign the value.
    2,545 pointsBadges:
    report
  • carlosdl
    Yeah, without more details there is no way to help.
    84,580 pointsBadges:
    report
  • ToddN2000
    Sounds like the validity checks for the 2 databases are not in sync. One allows data the other will not. When importing the data it fails because of this. You need to either fix the data if it is bad or ease the validity check to allow the data.
    125,840 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: