InfoPath Date Picker field

J

jldarl

I am relatively new to working with InfoPath and have run into a few
issues. I have a Date Picker field in an InfoPath form that is bound
to an xml field. The form is populated by a stored proc and I
basically have it pulling in today's date.For some reason, the field
keeps putting a red dotted box around it whenever I open the form with
the date pulling into it. The sql field is of type datetime. A few
questions I have:
1. We really don't want the date saving to the db, but the only way I
found to be able to add the field and use the date picker was to add a
field to sql, bind the date, and pass some sort of value to
it(otherwise the field wasn't editable and did nothing). Is there a
better way to do this? I have a few other fields in which I had to do
the same thing.
2. If I have to do this since the other outlining data is associated
with the xml, how can I get the date in there without the dotted red
box?

Any help is much appreciated.
 

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