How do you make InfoPath require data elements bound to MDB fields

S

Spencer

I have designed an InfoPath form which submits data to a Microsft Access
database. Nearly all of the fields are required, and I've set the "required"
attribute in Access.

Unfortunately, there doesn't appear to be a way to get Access to require the
corresponding data elements. InfoPath does not import the Access data
fields' "required" states into the corresponding elements (under dataFields)
in the data source. What's worse, the data elements, once created, do not
let you set the "Cannot be blank" checkboxes in their Properties dialogs.
Neither can you change the similar checkboxes in the controls' Properties
dialogs. (you can't create an "unbound" control when the main data source
comes from Access)

Of course, because the fields are set to "required" in Access, there's a
safeguard against actually submitting missing data into the database. But
the form doesn't give you the visual feedback for a required field. The user
only finds out that a field is missing when he or she tries to submit, and
the error messagre comes from the Microsoft Jet engine and isn't particularly
user-friendly.
 
S

Spencer

Wow. That's a ton of work, although I'm sure that's what you've got to do.

Yet there's that "field cannot be blank" checkbox sitting out there
uselessly.

Is there a reason for it?

Is this a known issue?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top