FIX: Page Not Refreshed When You Point to a Deleted Record

Article translations Article translations
Article ID: 190753 - View products that this article applies to.
This article was previously published under Q190753
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

SYMPTOMS

If you choose to delete a record on an Active Server Pages (ASP) page, when the record has been already deleted by another user, the page is not refreshed to indicate that the record was already deleted.

RESOLUTION

You can work around this by checking for the return value of the delete operation. DeleteRecord() function returns false if the operation failed. If you want to see the new data, you need to catch the return code and do a move on the recordset.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:
194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed

MORE INFORMATION

Sample code to illustrate the work around mentioned above:
   Sub Button1_onclick()
     if  not Recordset1.deleteRecord() then
   Recordset1.move(0)
     end if
   End Sub
				

Properties

Article ID: 190753 - Last Review: October 9, 2013 - Revision: 1.2
APPLIES TO
  • Microsoft Visual InterDev 6.0 Standard Edition
Keywords: 
kbnosurvey kbarchive kbbug kbfix kbvs600sp3fix kbwebserver KB190753

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com