cancel
Showing results for 
Search instead for 
Did you mean: 

Set Date field value through Form datasource

pedro_magueija
Active Contributor
0 Kudos

Hello all,

Has anyone set the value of a field of type Date through the form's datasource?



...
    If (Not Entrega = Nothing And NrDias > 0) Then
        Entrega = Entrega.AddDays(NrDias)
        ds.SetValue("U_data", ds.Offset, Entrega)
    End If
End If

If I change the field to a text field it write to the datasource and display no problem.

Any ideias?

Best regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

pedro_magueija
Active Contributor
0 Kudos

Ups,

Found it.


ds.setValue("U_dataent", 0, Entrega.ToString("yyyyMMdd"))