D
dinsoftbd
I have an access database as my primary data source for my Infopath form. The
form will add / update the database table when I hit the Submit button. But,
now I want to add code to do insert today's date in either the add_date or
update_date fields (depending on if this is a new record, or an existing
record). I don't know if I should be adding this code to the onSubmitRequest
event or the OnSaveRequest, and how to get the data to then save. Each
variation I have tried from code samples found on the web result in errors.
form will add / update the database table when I hit the Submit button. But,
now I want to add code to do insert today's date in either the add_date or
update_date fields (depending on if this is a new record, or an existing
record). I don't know if I should be adding this code to the onSubmitRequest
event or the OnSaveRequest, and how to get the data to then save. Each
variation I have tried from code samples found on the web result in errors.