Did you try the approach I gave and what was the result?
On your question as to the use of the Gallery, it indicates to the form what record (item) to display.
There are many records that could be shown by the form from the datasource, but the form shows one record at a time. In this case whatever you select on the Gallery indicates to the form that record should be displayed on the form.
You could on the Item property of the form use: First(Datasource) to show the first record.
However, it because we want to make it dynamic thus the use of the Gallery.
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.