I have a Patch which is creating a new row in a SQL table using a ForAll and a collection.
I have a date column that needs on occasion to be blank.
ForAll(
mycollection,
Patch(
mysqltable,
Defaults(mysqltable),
{
mydatecolumn: DateTimeValue(Text(mycollectiondatecolumn))
}
)
)
The SQL column/table is set to accept Null values, however when I patch a null value I get this error:
"Server Response: A value must be provided for item"
If I patch a date value it works fine, it only errors when the mycollectiondatecolumn is blank.
Is this related to the known issue with blank and nulls? Or am I missing something?