There's a few things to note about getting into programming.

First off, you will never know everything about programming. You'll probably never even come close to knowing a fraction of everything. And if you ever get to thinking you know something, something new will come out and what you know will be obsolete.

So, you need to be OK with constantly learning new things, and teaching yourself what needs to be done. If you're not OK with spending a lot of time doing a lot of learning, doing research, and figuring things out through "educated trial and error", don't get into Programming.

Second, its the logic that matters, not the syntax. Just learning a language, framework, or technology does not necessarily make a good programmer. You really need to have the sort of mind that is capable of understanding the logic behind the code - how the pieces fit together, what kind of logic is getting used, and how the computer will interpret your code.

It sounds like you're working with a single piece of software and language, but keep in mind there are many more languages and technologies out there. Don't judge them all by your experience with one of them. If the syntax is frustrating you, then keep in mind there are always other options. But if you're having problems grasping the logic behind the code, then perhaps programming may not be for you.

And last of all, don't pick a job you hate. Sure programming can be frustrating, but it can also be very rewarding. If you can handle the times when you want to bang your head against the wall over some bit of code, or delete everything off your computer in frustration, and still enjoy the coding, you're good :)