The information in this article applies to:
SYMPTOMSWhen using code generated by the Visual InterDev 1.0 Data Form wizard, updates to a database may not be displayed when the page is refreshed. CAUSEThe Data Form wizard xList.asp page stores the recordset object in a session variable. Under varying circumstances, this can cause undesirable caching effects. It is very easy, however, to change the code that does this. RESOLUTIONIn the Xlist.asp page, search for the following line of code:
This line will be at about line 248. Change it to this:
This causes the Xlist.asp page to always retrieve a new recordset object
when the page is called.
To save system resources on the server, you should also change the code that places the recordset object in the session variable. Simply comment out the last three lines of Active Server Pages (ASP) code on the page; they appear after the following comments:
STATUSThis behavior is by design. Additional query words:
Keywords : kbwizard kbADO kbASPObj kbVisID kbVisID100 kbVisID600 kbGrpASP |
Last Reviewed: May 12, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |