Hello,
You could add a boolean for “IsFirst” and “IsLast” to your TrainingSessionDataSet entity and work out if it is first or last in the microflow and change the TrainingSessionDataSet object before opening the page.
You can then use the visibility feature based on expression to show the back button where IsFirst is not true.
And do a similar thing for the forward button but where IsLast is not true.
Something similar to the following:
If this is not what you meant then apologies for the confusion on my part.