Using access as an application database

I have access as a database for an application.  When I try to submit data I get a error that I cannot submit null values. The access required field is set to no on all fields in the table.

2 - access data provider
   one for a filtered DDL
   one for the formview
1 form view control
1 DDL drop down list

the form view is filtered by the DDL
the form view is configure to allow update, delete and new records

no code behind all code is declarative code

I have an access data provider connected to a form view control. The data provide is using a wild card and filtering off a second data source attached to a drop down list with a filtered filed. The app works as plan but when I try to insert a record the page blows up and indicates that I cannot us null values
Who is Participating?
Manoj PatilConnect With a Mentor Sr. Software EngineerCommented:
Have a look at the soure of the aspx page and the sqldatasource should be there. It will have various settings and you can edit them. Inset parameters should be there somewhere. If you like post up what is there and I'll have a look.
There must be the Insert parameters, delete unwanted one like ID. And see result.
Let me know.
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
By any chance are you trying to insert data into your auto number field?  I would also try and handle the data prior to insert.
Tec-FuturesAuthor Commented:
Both answers were correct.

Tech your information was a little more detailed which led me to solving the problem.

padas your response was correct as well but it left me trying to figure out where and what to remove.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.