Do You Have to Have a Program of Study to Receive Student Loans?

loans

I want to get student loans to take courses at a community college to transfer to a 4 year university. The problem is I am not eligible for that college yet so I’d have to go to a community college to take classes but I can’t really declare a program of study since I don’t need the courses in any particular associates degree area.

If I applied to the college in a certain program of study would I have to take those specific courses to receive financial aid?