POST
|
Under OnSelChange event of your combo box control on Page 1, call your funtion that generates the ID and populates the value to 'Facility ID' texbox on Page 2. It should work for you when ever the street value from the combo box is changed. Hope this helps.
... View more
10-29-2013
09:15 AM
|
0
|
0
|
268
|
POST
|
Emily, Check out this help page on how to set a value to a control. Hope it helps!
... View more
10-02-2013
09:45 AM
|
0
|
0
|
115
|
POST
|
Hi Emily, You need to open your form in ArcPad Studio, then, open up that date and time control properties. When you switch to the Values Tab, you'll see a default value field. So, just enter the Now() funtion in that field. Each time user opens the form, that field will be populated with a current date and time. If you want to populate a current date only, use the Date() function. Also, Time() function will return a current time. Attached is a screen capture of the control's properties.
... View more
10-02-2013
05:38 AM
|
1
|
0
|
163
|
POST
|
Sorry! You cannot do this with ArcPad. See question 90 from this ArcPad Team Blog
... View more
06-18-2013
01:34 PM
|
0
|
0
|
323
|
POST
|
To create a masked Password input field, open your form in ArcPad Studio, add an input text control to your form. Then under the control properties, check on the "Password" check box. Now, each character you enter in that text box will be displayed as asterisk (*). To get the value of the input password, just use: pControls("txtPassword").Value where, "txtPassword" is the name of that control.
... View more
06-18-2013
12:48 PM
|
0
|
0
|
569
|
POST
|
Hi James, Review Application::OnStartup event and Applet::Onload event to see if you have code under those two events.
... View more
06-05-2013
05:10 AM
|
0
|
0
|
458
|
POST
|
James, The ArcPad Login Form from above link worked for me. I did not get any errors with ArcPad 10.0.4 Here is what I just did: 1. Extract the zip file to Applets folder (C:\Users\Public\Documents\ArcPad\Applets) 2. Open up ArcPad application and and set the path to Applets to the above directory. 3. Restart ArcPad, I've got a login form. Selected a user from drop down list. 4. Back to Arcpad Studio, checked to see if "LoggedInEmployee" is available by go to ArcPad >> Send Script and type in MsgBox (Application.UserProperties("LoggedInEmployee")) Hit "OK" 5. I've got a username return in a message box. You might have to double check your implementation!
... View more
06-04-2013
07:27 AM
|
0
|
0
|
458
|
POST
|
Hi James Do you have the same code as the #1 post? In ArcPad 10, Application.Filepath will return a full path to ArcPad.exe So, Just below these lines:
'Set the path to a global varaible for further use
Application.UserProperties("AppPath") = strApplicationPath
Try to print out this global variable (AppPath) to make sure it's a correct path that you want to use.
MsgBox (strApplicationPath)
... View more
06-03-2013
04:36 AM
|
0
|
0
|
458
|
POST
|
You also need to modify:
#Read input parameters from GP dialog
folderPath = arcpy.GetParameterAsText(0)
to:
#Read input parameters from GP dialog
folderPath = parentDir
Also, making sure there's a "PyTest" folder under your C drive for this to work.
... View more
05-29-2013
12:37 PM
|
0
|
0
|
219
|
POST
|
Kerry - Great! Glad that it works for you. we now can mark this thread answered 🙂
... View more
05-29-2013
11:28 AM
|
0
|
0
|
353
|
POST
|
Kerry, You forgot to include a vbscript file for the applet in your zip file above. download this new zip file, extract it to a location on your PC. Open up ArcPad, and set the path to applets under ArcPad options. Restart ArcPad and add your features to edit. It works for me, so I hope it'll work for you as well... 🙂
... View more
05-29-2013
10:18 AM
|
0
|
0
|
899
|
POST
|
Kerry - 1. Open AppletEnableIDfields.apa with ArcPad Studio and delete OnStartUp event under APPLICATION. 2. Re-edit your VBScript. and change "lblSUBTYPE" to 1, 2, 3, and 4 respectively. You need to set it = to the code value.
'If lblSUBTYPE field value is Site, do the following:
If objControl.Item("lblSUBTYPE").Value = 1 Then
'Enable txtASMIS_ID field
objControl.Item("txtASMIS_ID").Enabled = True
'Disable txtFEATURE_NUMBER field
objControl.Item("txtFEATURE_NUMBER").Enabled = False
'and set value of txtFEATURE_NUMBER field to "N/A"
objControl.Item("txtFEATURE_NUMBER").Value = "N/A"
'Disable txtTRACKING_NUMBER field
objControl.Item("txtTRACKING_NUMBER").Enabled = False
'and set value of txtTRACKING_NUMBER field to "N/A"
objControl.Item("txtTRACKING_NUMBER").Value = "N/A"
'If lblSUBTYPE field value is Feature, do the following:
ElseIf objControl.Item("lblSUBTYPE").value = 2 Then
'Enable txtASMIS_ID field
objControl.Item("txtASMIS_ID").Enabled = True
'Enable txtFEATURE_NUMBER field
objControl.Item("txtFEATURE_NUMBER").Enabled = True
'Disable txtTRACKING_NUMBER field
objControl.Item("txtTRACKING_NUMBER").Enabled = False
'and set value of txtTRACKING_NUMBER field to "N/A"
objControl.Item("txtTRACKING_NUMBER").Value = "N/A"
'If lblSUBTYPE field value is IO, do the following:
ElseIf objControl.Item("lblSUBTYPE").value = 3 Then
'Disable txtASMIS_ID field
objControl.Item("txtASMIS_ID").Enabled = False
'and set value of txtASMIS_ID field to "N/A"
objControl.Item("txtASMIS_ID").Value = "N/A"
'Disable txtFEATURE_NUMBER field
objControl.Item("txtFEATURE_NUMBER").Enabled = False
'and set value of txtFEATURE_NUMBER field to "N/A"
objControl.Item("txtFEATURE_NUMBER").Value = "N/A"
'Enable txtTRACKING_NUMBER field
objControl.Item("txtTRACKING_NUMBER").Enabled = True
'If lblSUBTYPE field value is Other, do the following:
ElseIf objControl.Item("lblSUBTYPE").value = 4 Then
'Disable txtASMIS_ID field
objControl.Item("txtASMIS_ID").Enabled = False
'and set value of txtASMIS_ID field to "N/A"
objControl.Item("txtASMIS_ID").Value = "N/A"
'Disable txtFEATURE_NUMBER field
objControl.Item("txtFEATURE_NUMBER").Enabled = False
'and set value of txtFEATURE_NUMBER field to "N/A"
objControl.Item("txtFEATURE_NUMBER").Value = "N/A"
'Disable txtTRACKING_NUMBER field
objControl.Item("txtTRACKING_NUMBER").Enabled = False
'and set value of txtTRACKING_NUMBER field to "N/A"
objControl.Item("txtTRACKING_NUMBER").Value = "N/A"
End If
3. Back to your AXF, open your Line Feature Layer. Remove or comment out your code in Layer2.vbs 4. Optional, I dont think you need OnLoad Event under EDITFORM either! 5. Save everything and add Line to your ArcPad map document and test your script. It should work for you this time. 6. Do the same above steps for your Point & Polygon feature layers. Good luck! 🙂
... View more
05-29-2013
07:03 AM
|
0
|
0
|
899
|
POST
|
No you can't. You can only have one subtype per feature class. You might have to review your feature class to see if there's a way to split them out by feature type, so you can create multiple feature classes. For example, I have a feature class for utility lines. My feature class contains both water lines and sewer lines. Then I would separate them out so I can use the same subtype for both feature classes.
... View more
05-29-2013
04:36 AM
|
0
|
0
|
186
|
POST
|
Hi there... I wonder if you have "Automatic Map Rotation" option turn on? Try to turn it off to see if it helps resolve your problem. This option is under GPS toolbar. Otherwise, you can also contact ESRI's technical support to get help on this. Version 10.x is under full support. See ArcPad Product Life Cycle for more info.
... View more
05-29-2013
04:23 AM
|
0
|
0
|
281
|
POST
|
Kerry, It works for me. I used Riverside.axf to test this code (see the attached PNG below) If possible, post your AXF file here, I'll try to iron out the issue for you.
... View more
05-29-2013
04:11 AM
|
0
|
0
|
899
|
Title | Kudos | Posted |
---|---|---|
1 | 05-15-2013 09:14 AM | |
2 | 06-14-2012 12:14 PM | |
1 | 10-02-2013 05:38 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|