Select to view content in your preferred language

Auto Increment Sample ID in a Sample Card Edit Form

805
1
06-23-2011 02:21 PM
MichellePearson
Deactivated User
I'm designing a form in ArcPad studio for sample card descriptions.  I need a SampleID field that auto increments by one with each new sample point collected, but allows the user to change the number if necessary.  The field in the gdb is a numeric, double precision number.  The numbers on the physical sample cards are 6 digit numbers. 

I see the option for auto incrementing in the control properties of my "Edit_samplenum" text box, but it is grayed out.  In the tree window I changed the auto increment line to "autoincrement=true", but that just puts a checkmark in the the grayed out box.   

I have a VB script that we used with our old ArcPad 6 & 7 forms that worked just like we needed it to.  Is there a new script on the ArcPad forum somewhere I'm not seeing?  I'm not a programmer so I was hoping there would be a simple  selection for this in APStudio.  I tried to attach the script to this post but it's too big (15k) in txt format & it wouldn't let me attach a .vbs file.

How can I get this to work?
Tags (3)
0 Kudos
1 Reply
EvanKoester1
Emerging Contributor
I have the same greyed out problem.  Ever figure it out?
0 Kudos