Hello All,
I am using recreating .axf files and using the pre-existing forms to set up a project on the Yuma 2. I have two issues I'm trying to resolve.
1. I have a script that should calculate a unique FacilityID whenever a new feature is created. I have loaded into the onfeatureadded event. It uses the ObjectId field as part of this calculation. I don't see how ArcPad gets or uses the ObjectID and the FacilityID is not being calculated. Here is the script:
Dim ID
Dim strDay
Dim strMonth
Dim lastbit
strDay = Day(Now())
strMonth = Month(Now())
lastbit = [OBJECTID]
If strDay < 10 Then strDay = "0" & strDay
If strMonth < 10 Then strMonth = "0" & strMonth
If lastbit < 10 Then lastbit = "00000" & lastbit
If lastbit >= 10 And lastbit < 100 Then lastbit = "0000" & lastbit
If lastbit >= 100 And lastbit < 1000 Then lastbit = "000" & lastbit
If lastbit >= 1000 And lastbit < 10000 Then lastbit = "00" & lastbit
If lastbit >= 10000 And lastbit < 100000 Then lastbit = "0" & lastbit
ID = "DS" & "_" & strMonth & strDay & Year(Now()) & "_" & lastbit
2. The forms were previously sized for an older Trimble handheld collector. They now need to be resized for the Yuma 2 screen. Is there a way to do this other than adjusting the size of the form and then individually resizing all the controls on the different pages?
I appreciate any one's feedback on these issues.
Thanks,
Gary