Attached is a very pared down application that showes a bug when final compilation for distribution was tested. I would like confirmation on this before submitting it as a formal bug report. It is a bit complicated to reproduce over and over again in the example, because it seems to clear itself, in the full app it persists. Secondly, this app is in v7, because that is what the client owns full runtime of, but when I tested it in v10, the bug is here also.
The app has a form named "Status Agents". There is a red button on that form that runs a UDF named 'agent_status_send()'. When the form is configured with system toolbar... all is fine. When configured with ANY custom toolbar an error is generated. I believe the error manifest at line 53 of the code where it saves the report as a PDF. To show the error do the following.
1. from the main menu, open the Status Agent form
2. press the red 'Preview and Email....' button.
3. press Exit the Report preview toolbar button to close preview
4. press'yes' button on the 'Report Email Query' dialog
......The email client will open showing the email with attachment to send
5. press red 'X' to close the dialog (you will be out of app so go back to it).
6. place form in Design mode. Goto Form Properties.
7. Select Menu/Toolbar tab
8. Select "Custom Form" in the Toolbars > View, press "OK", Save the layout.
9. Return the form to view mode.
10. Repeat steps 2 and 3 and the error will manifest.
.... The error in this example manifests once and then clears. In my complete app it persists. You can generate the error over and over again by returning the form toolbar to System toolbar, run the UDF, then return toolbar to Custom and run the UDF.
I can't tell you how many days before figuring out the source of thie issue have been spent on this!!! Thanks for your help. BTW: version 2814:3539. I adownloaded and installed 2916:3554 (v10.5.6). Manifests there too.
The app has a form named "Status Agents". There is a red button on that form that runs a UDF named 'agent_status_send()'. When the form is configured with system toolbar... all is fine. When configured with ANY custom toolbar an error is generated. I believe the error manifest at line 53 of the code where it saves the report as a PDF. To show the error do the following.
1. from the main menu, open the Status Agent form
2. press the red 'Preview and Email....' button.
3. press Exit the Report preview toolbar button to close preview
4. press'yes' button on the 'Report Email Query' dialog
......The email client will open showing the email with attachment to send
5. press red 'X' to close the dialog (you will be out of app so go back to it).
6. place form in Design mode. Goto Form Properties.
7. Select Menu/Toolbar tab
8. Select "Custom Form" in the Toolbars > View, press "OK", Save the layout.
9. Return the form to view mode.
10. Repeat steps 2 and 3 and the error will manifest.
.... The error in this example manifests once and then clears. In my complete app it persists. You can generate the error over and over again by returning the form toolbar to System toolbar, run the UDF, then return toolbar to Custom and run the UDF.
I can't tell you how many days before figuring out the source of thie issue have been spent on this!!! Thanks for your help. BTW: version 2814:3539. I adownloaded and installed 2916:3554 (v10.5.6). Manifests there too.
Comment