Moved functions for finding records to fmWebLayout.