Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Database is not updating fast enough

Status
Not open for further replies.

donniea21

MIS
Feb 16, 2001
75
US
When my asp page loads, the database has not been updated yet so i get an EOF error. If i hit refresh, it works. Is there a way to wait until the database has updated the info so the page loads correctly???
 
If you put your asp code above the <html> headers, that should take care of the problem.

The server will process the code sequentially right down the page... and therefore won't render the page until the code is done processing.

hope it works! :)
Paul Prewett
 
Make sure that you do the update and the select on the same page, with the same connection, and use connection.CursorLocation = adUseServer

That should do the trick.
Yours,

Rob.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top