Field Type: Duration

banner art

The following properties are available:

Duration properties Type Description
{Field}.DataValue integer or Null Get/set property.

The duration can be set to Null. The original value is left unchanged if the new value cannot be parsed.


The following code example shows how to use a field of type Duration.

var iMinutes = 60;

crmForm.all.SOME_DURATION_FIELD_ID.DataValue = iMinutes;

© 2007 Microsoft Corporation. All rights reserved.