How soon will a blood test show up

Tiffany
How soon can a blood test at the doctors show up for pregnancy? I went to the ER last night for horrible pains. They took my blood and only found a kidney infection. 
They said I defiantly wasn't pregnant.. Af is due the 17th.. So is that accurate?