When the car was given to me the power locks, trunk release, and key fob didn't work. I got the power locks and trunk release to work by replacing relay #100. I got a key fob from an Audi and set it to my car. All was and has been well up until a few weeks ago. My power locks stopped working, so I removed relay 100 and plugged it back in and it started working. Last weekend it did the same thing so I tried removing the relay and plugging it back in again, but it didn't work. So, naturally, I thought it was a faulty relay, so I went and got 2 more relays out of a 2001 Jetta 2.0 and a 1999 New Beetle 2.0, plugged it in and nothing happened. So I looked at my fuses and all were good, but when I plugged fuse #38 into the slot I heard the relay click. The power locks were working

! The fob wasn't so I thought I had to reset or reprogram it, but every time I try to do it, the power locks stop working. Go to the fuse panel and remove fuse 38 and re install and they start working again. I have tried resetting my key probably 8 times now and the same thing keeps happening

, Whats causing this? I t makes no sense.
what I have tried so far:
replacing fuse 38(both the original and replacement were 15 amp)
replacing relay 100 3 times
resetting key fob with instructions in the owners manual
reprogramming key with instructions in the owners manual
Checking batteries in key fob
making sure batteries are installed correctly in fob
disconnecting car battery for a few minutes
Car is a 1999 New Beetle GL(no power windows or cruise control)
2.0 AEG
Key is from a 1999 Audi A6 2.8l V6
Key was gotten over a year ago, and whenever the power locks go out the trunk switch will not work. When using the door lock to lock the car, both locks depress at the same time, and using the key in the trunk, the releasing mechanism works perfectly.
I got the car about 2 1/2 years ago.
Please help me! I really need my key fob, I can't unlock the car from the door lock without the alarm going off, I have to open the trunk, then get in and start it. It really isn't fun

Thank you!