1. Have a simple form which collects registry data from several computers
2. the output is stored in a CSV file.
Issue is, the action runs twice & ends up creating the duplicate values
in the attached file(UAT.psf), click on the button "Export-Image-Details"
the output is stored in c:\temp\UAT-Logs\....image
Expected output
action should run once & update the values only once
Button click executes the action twice
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Button click executes the action twice
- Attachments
-
- Error-Report.png (156.17 KiB) Viewed 2074 times
-
- UAT.psf
- (542.21 KiB) Downloaded 134 times
Re: Button click executes the action twice
The best we can do is to suggest using the debugger to step through the code.
I recommend that you rethink using global variables as control items. In most cases that I see you do not need them.
Note that there is no way for us to run your code as it is totally dependent on your network.
The form is also a bit broken as controls are inside of controls and behind controls. Much of the form is hidden when displayed.
I recommend that you rethink using global variables as control items. In most cases that I see you do not need them.
Note that there is no way for us to run your code as it is totally dependent on your network.
The form is also a bit broken as controls are inside of controls and behind controls. Much of the form is hidden when displayed.
Re: Button click executes the action twice
This article may help you:
http://info.sapien.com/index.php/guis/g ... ton-clicks
If it is a clicking issue.
http://info.sapien.com/index.php/guis/g ... ton-clicks
If it is a clicking issue.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.