Hi all,
Question for you pros out there. In my Word Application, I have 2 forms used for input. I display them using Form.Show and Form.Hide. I never unload the form until they exit the application.
This is used for a repetitive process. The user does not have to change all the data in the forms each time, so we want to present them with the same data again so they don't have to reenter it.
The process is: do a Form.Show, user inputs data, do a Form.Hide, data is gathered and used by the application (dumped into a template), user finishes the document and then hits the "Next" button, which saves the document, then does a Form.Show again. The Form should be displayed with the data from the last input still populating the fields, because the form was never unloaded, just hidden. And this works smashingly, well...
Except for the very first time they use the form after starting the application. They enter the data the first time and move forward, and when they start the 2nd report, the form is displayed with no data. They enter the data again and move forward, when they start the 3rd report, the form now displays the data and continues do so from that point forward with no further problems.
How come?![[shadessad] [shadessad] [shadessad]](/data/assets/smilies/shadessad.gif)
Thanks as always,
AJ
Question for you pros out there. In my Word Application, I have 2 forms used for input. I display them using Form.Show and Form.Hide. I never unload the form until they exit the application.
This is used for a repetitive process. The user does not have to change all the data in the forms each time, so we want to present them with the same data again so they don't have to reenter it.
The process is: do a Form.Show, user inputs data, do a Form.Hide, data is gathered and used by the application (dumped into a template), user finishes the document and then hits the "Next" button, which saves the document, then does a Form.Show again. The Form should be displayed with the data from the last input still populating the fields, because the form was never unloaded, just hidden. And this works smashingly, well...
Except for the very first time they use the form after starting the application. They enter the data the first time and move forward, and when they start the 2nd report, the form is displayed with no data. They enter the data again and move forward, when they start the 3rd report, the form now displays the data and continues do so from that point forward with no further problems.
How come?
![[shadessad] [shadessad] [shadessad]](/data/assets/smilies/shadessad.gif)
Thanks as always,
AJ