Skip to main content

Get value from a feature's date field

Comments

2 comments

  • Tom Neer
    try: string variable="Date: " + if(fsElevCert.features(0).attributes("CERTIFICATE_DATE").toString(), "")

     

     
    0
  • Permanently deleted user
    Thanks.  I found out it was data related.  I was able to get the values from a selected feature for some of the fields but could not for others.  One of the field was a date field.  I recreated a new featureclass with the same field definition and loaded data into the new one.  Now i get all the values from all the fields.
    0

Please sign in to leave a comment.