Current for 12V dc solenoid

This is a common misunderstanding of people new to electronics. The load (solenoid) takes the current it needs. The current rating of the supply is the most it can supply without damage to itself. In the UK mains electrical sockets are rated for 13A, a table lamp might take 50mA, the lamp does not explode with excess current when plugged into a 13A socket.

You need to learn about Ohm's Law, which explains the relationship between voltage, resistance and current.

While not relevant to your question I suggest you also learn about Kirchhoff's circuit laws, which are also fundamental to how all electrical circuits work.