Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: ASP db data refresh question


Message #1 by "Kenneth Barker" <kenneth.barker@a...> on Fri, 16 Nov 2001 20:55:19
Hi all,



Got a quick question (sorta)... I have a simple page that builds a drop 

down selection box populated with values from a specific field in an 

access table.  When a value is selected and the user hits "load" the page 

then reloads to itself, but passes a querystring value that's stripped out 

and vbscript uses it to query the table and populate a set of fields in a 

form on the bottom.  The user can then edit or modify those fields and 

then hit update, which submits the page back to itself again, but as a 

post method this time and vbscript again handles the ado connections and 

updates, etc.  The problem is this: pick value 1, page reloads with all 

feilds populating form, good so far.  Make edits, click "update", page 

submits, reloads blank, ready for next selection.  Now, if user picks the 

same initial value and hits "load" the "old" data gets populated into the 

fields below.  Hitting "refresh" updates it correctly.  



So, the data is being updated correctly in the table, but the page loads 

the old data first, then refreshes correctly.  If this data is being 

pulled directly from the table, what could be causing this behaviour?  Any 

ideas or thoughts welcome...



Ken~


  Return to Index