Hello
Is it possible to automate the file name of an Infopath form by creating a macro or another programming technique?
The form would have fields populated from a SQL Server database. Also other information would be hard coded on to the header of the form.
The form would have to work as follows:
User fills in the form fields.
I need to be able to create a button possibly called 'Confirm' and place it in the form or as part of the form's infopath toolbar. So this is essentially a 'save' button but with added functions.
So once the form has been filled in and the user hits the 'confirm' button, the code should pick up relevant information from the fields and the header (also current date and time) and produce a string which will fill in the f'ile name' field of the 'save as' dialog box. (my aim is to avoid users entering the file name in the wrong format)
If this is possible I am also wondering how the same form would work in a sharepoint environment??
Does infopath have autosaving functionality? Whether you can write a macro to save the form automatically every few minutes so that even if someone closes it by mistake they won't lose all the filled in information?
They are all related questions and it would be much appreciated if someone would be able to advise/help me in how to go about achieving these functionalities.
Many Thanks
Sathya