I have an Access 2010 database and am using the feature of collecting data by email. I’m using the InfoPath form as the means of collecting the data. In general, it works well – but I’ve run into 2 issues that I’m hoping for advice on:
1) Is there a way to set the default value for the InfoPath form fields? In Access, I’ve set the default values of 3 of my fields – but this doesn’t carry over to the InfoPath form that gets created by Access when I send the email. Is there another way to set this up?
2) One of the data points that I’m collecting is the Departure Date. This is a date/time field, and I have the format set as a Short date in Access (eg, 9/3/13). When we email the form and try to submit it, InfoPath displays the General Date (eg, 9/3/2013 1:26:18 PM) – and won’t enter this new record into my database due to a “data type conversion error”. I’ve tried changing the Access field to be the General Date format, but I still get the same error. I can submit the form just fine if I don’t enter a date (but I do need to collect the date) – and when I try entering anything into the date field, I get the error upon submission.
I’ve been looking online for solutions to these two issues but haven’t come across anything. Any help would be appreciated! Thank you!
1) Is there a way to set the default value for the InfoPath form fields? In Access, I’ve set the default values of 3 of my fields – but this doesn’t carry over to the InfoPath form that gets created by Access when I send the email. Is there another way to set this up?
2) One of the data points that I’m collecting is the Departure Date. This is a date/time field, and I have the format set as a Short date in Access (eg, 9/3/13). When we email the form and try to submit it, InfoPath displays the General Date (eg, 9/3/2013 1:26:18 PM) – and won’t enter this new record into my database due to a “data type conversion error”. I’ve tried changing the Access field to be the General Date format, but I still get the same error. I can submit the form just fine if I don’t enter a date (but I do need to collect the date) – and when I try entering anything into the date field, I get the error upon submission.
I’ve been looking online for solutions to these two issues but haven’t come across anything. Any help would be appreciated! Thank you!
Comment