It took me all yesterday afternoon and this morning, to find out why my form didn’t show any records.
When you use a form based on a dataset, then do not set useSeparateFoundSet to true.
If you do have this value true, it will not show any records, without any warning, and it can take you the whole day to find this problem.