Hi @magand117,
Does the tablet maintain WiFi signal connection if the tablet is positioned right next to the router or WiFi access point?
If so there may be a problem with the tablet’s WiFi antenna, either a loose connection or it is faulty.
Here’s a [https://www.sosav.co.uk/guides/tablets/samsung-tablets/tab2-7-wifi/wifi-antenna/|link] to a Samsung Galaxy Tab2 7.0 WiFi antenna repair guide which may be of some help.
Take note of the “comments” at the bottom of the page regarding some missing steps in the guide ;-)