No internet connection with hAP connected to LAN upstream

Check out this link,
it will show how to setup the hex and the hapac as a switch and access point using vlans.

http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1