Table.Isempty not working after sql insert

After executing an insert-statement and refreshing the table, I want to test
if the insert resulted in any rows at all (before showing a report). But the
Table.IsEmpty doesn't always work! The first time it works, but after that
it says that the table is empty even if it isn't. I tried to run
DBISaveChanges on the table after the insert, but it didn't help. Any

Thanks in advance,