Add flour and salt into the bowl of a food processor; pulse a few times to incorporate all the ingredients.
Add the butter and process until the mixture is crumbly and the butter is pea size.
Place the mixture into a wide bowl and add water 1 tablespoon at a time until the mixture comes together. Don’t overwork the dough or it will be tough, not flaky. Once the dough comes together in a ball, divide it into two pieces, flatten into disks, wrap in plastic wrap and refrigerate for 30 minutes. Preheat oven to 400° while the dough is chilling.
Dough can be wrapped well at this point and frozen for up to three months. Let the dough defrost overnight in the refrigerator before using.
Roll one chilled disk out on a floured counter or rolling mat, lifting and moving the dough every few rolls to help prevent sticking. Add only enough flour to the counter to keep the dough from sticking.
Cut a piece of parchment paper to fit the bottom of the tart pan.
Place your pan on top of the dough to make sure it is the correct size, it should be slightly larger than the pan, then roll the dough onto your rolling pin and unroll over your pan. Gently lift and lay the dough to fit the pan, never pull the dough to stretch it. Lightly press the dough into the pan, roll your rolling pin over the top edge of the tart or pie pan and remove excess pastry. Prick the dough well with a fork.
Cut a piece of foil a little larger than the tart pan, butter the shiny side and place butter side down onto the dough. Press so the foil lays against the dough snugly, add another piece of foil if it doesn't cover the entire crust.
Bake the crust for 20 minutes, remove beans and foil, bake another 5 minutes. Remove from oven and cool before filling. (Leave oven on).
Boil potatoes until knife tender (when a knife can slip into the potato effortlessly with a little resistance). Drain and let cool until you're able to handle them. Slice into disks or chop into a medium dice.
Heat a medium sauté pan, add oil until it covers the bottom of the pan, add potatoes and season with a pinch of salt and grind of pepper. Sauté potatoes until lightly browned, add ham and cook for about 2 minutes or until browned. Add potato mixture to the bottom of the cooled crust. Add cheese on top of the potato mixture.
Whisk together the eggs and cream, add a little seasoning of salt and pepper, pour over potato and cheese mixture, bake for 30 minutes or until puffed and lightly browned. Let cool before serving.