I am using QGIS and I have two layers the first one is
"Reading" layer with the attribute details
The second layer is
"Reading_History" layer with the attribute details
I want to use the expression functions in the default value field to take the last date reading from
"Reading_History" layer attribute and update the
"Reading" layer with it based on the "ID"` field.
So when a new record for a specific
"ID" added to
"Reading_History" attribute the
"Reading" attribute will be automatically updated to the latest
I wonder if there is such a function code to use in the expression calculator that may give the result above.