Print Page | Close Window

Delete_Post Bug

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=3710
Printed Date: 29 March 2026 at 4:41am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Delete_Post Bug
Posted By: Zoranoid
Subject: Delete_Post Bug
Date Posted: 21 June 2003 at 12:22am

After delete post the tblTopic.Last_Entry_Date==tblTopic.StartDate

Delete_post.asp  WWF 7.01
Line 236:

 'If there are threads left make sure the last topic date has the date of the last entry
 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
  
  'Place the date of the last post in the last enry date
  rsTopicDelete("Last_entry_date") = CDate(rsCommon("Message_date"))
  rsTopicDelete.Update

------------------------------------------------

I think  line 243 must be

   rsCommon.MoveLast

 




Replies:
Posted By: WebWiz-Bruce
Date Posted: 21 June 2003 at 3:04am
Thanks for letting me know I'll look into it.

-------------
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