So this would be another view in the same form that you use to submit the data to the database? You can add another query data connection in your form that queries the database where you are storing all your leave data. Then, for each of your leave types, you can add a repeating table bound to that data source. Filter each table according to leave type using table filters or conditional formatting.