Select to view content in your preferred language

Automated date time in field from form

1759
2
10-01-2013 03:03 PM
EmilySangster1
Occasional Contributor
Hello,

I have a date field which I would like to automate in a form.  The field name is "dtpDate_assessed".  When the user opens the form in ArcPad I would like this field to fill with the current date and time.  I'm familiar with VB but have never used it in ArcPad.  I'm wondering if anyone can help me with this?

Thanks!
Emily
Tags (3)
2 Replies
ThaiTruong
Deactivated User
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.
EmilySangster1
Occasional Contributor
Thanks! :cool:
0 Kudos