I changed the following on the Timer control:
Repeat: true
Auto Start: true
Auto pause: true
Duration: 100
Visible: False
OnTimerEnd:
Set(timeStamp,Text(Now(),"ddmmyy-hhmmss"))
My patch function is the following:
Patch(Equipment, Defaults(Equipment),{ColumnName1: DataCardValue45.Text, ColumnName2: DataCardValue46.Text, 'Order ID ':DataCardValue28.Text, 'Equipment ID':DataCardValue29.Text, EQID:DataCardValue24EQID.Text})
EQID is the combination of Order ID and Equipment ID (timestamp) to refer to one column as the unique ID for the entire record.
Instead of updating the reference to timestamp variable for Equipment ID and updating the EQID as well in the patch, I just tried updating the Default property for the Equipment ID to timestamp on the form, but nothing is appearing in the field, and when I use the patch, it doesn't give a text. It is just blank on the SharePoint list. What am I doing wrong?
I also tried updating the patch function to the following:
Patch(Equipment, Defaults(Equipment),{ColumnName1: DataCardValue45.Text, ColumnName2: DataCardValue46.Text, 'Order ID ':DataCardValue28.Text, 'Equipment ID':timestamp, EQID:DataCardValue28.Text×tamp})
The SharePoint list is also blank for Equipment ID.
Many thanks for your help!