Print Page | Close Window

Bug delete_post.asp

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=4612
Printed Date: 02 April 2026 at 11:23am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Bug delete_post.asp
Posted By: AmorfeD
Subject: Bug delete_post.asp
Date Posted: 30 July 2003 at 2:36am

Hi all!

If a post deleted in a topic, then topics last message date is written wrong in db.

Please Change bold area

delete_post.asp
------------------------------------------------------------
If NOT rsCommon.EOF Then
  
  'Place the date of the start date of the first message in the topic table
  rsTopicDelete("Start_date") = CDate(rsCommon("Message_date"))
  
  'Move to the last message in the topic to get the last message date
  
    rsTopicDelete.MoveLast - Remove this Line
    rsCommon.MoveLast - Add this Line
  
  'Place the date of the last post in the last enry date
  rsTopicDelete("Last_entry_date") = CDate(rsCommon("Message_date"))
  rsTopicDelete.Update
...
...
...




Replies:
Posted By: WebWiz-Bruce
Date Posted: 31 July 2003 at 6:19am
Thanks for letting me know, I found this one myself a few months ago and have checnged it for the next version.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net