Ah, i should mention is that when it sends the data to the form it works fine, but on the refresh code:
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70
it says "Refresh not available" in an error message.
If i wait for about 30 seconds the data updates on its own but i need it to...