Ask the bank for approval in principle for the maximum amount they are willing to lend. That way you know what your limit is. You don't have to "spend" the maximum amount they will lend - in fact I'd recommend you never do so unless you are very comfortable with your repayment ability e.g. consider what happens if interest rates double.
Some banks may offer you more depending on your circumstances. So if you want the maximum amount, shop around. A good broker may help in this situation, as they'll have a good idea of the way the various lenders currently lending calculate limits, which could save you some time -- there's no point applying to a bank that probably won't match an existing offer.
How much of the property you want to borrow will affect your limit slightly e.g. if you want to borrow 100% of a property value, they might lend you €200,000 based on your income. But if you wanted to borrow only 80% of the property value, they might lend you €220,000, as the lower percentage (loan-to-value ratio) is less risky.