to create some clean viewstate code, I always used IIF tags inside the detail template until now. I was wondering if something like this would be possible, in order to get cleaner code:
QUERY template ()
HEADER template ( SELECT record_id, ...)
DETAIL template (1: EDIT viewstate)
DETAIL template (2: normal viewstate)
To be able to do this, the [record_id] from the QUERY needs to be retrieved outside the DETAIL template. Is this possible?
When looking in the eventlog, I'm afraid the answer is no because the if action "[Edit,Viewstate]=[record_id]" is not repeated for each query result. Or is there another trick?