Select to view content in your preferred language

Python

593
0
05-14-2013 10:07 AM
HollieClavering
Deactivated User
Can someone tell me how to reference a python script in an .apx file? 

I am trying to call a python script with the on click event but I get an error.  When I paste the script into the script event window, it works. 

But when I place the script in the ArcPad Project folder or the Applets folder, and call it in the events layer script box, (DisplayResults()), I get this error:

---------------------------
Script Error 800A000D
---------------------------
Microsoft VBScript runtime error
Type mismatch: 'DisplayResults'
[Line: 1, Column : 1]
Source Text Unavailable


Any advice would be appreciated.

Thank you,
Hollie
Tags (3)
0 Kudos
0 Replies