Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Post/Topic Count problem
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

l2k man
New Member

United Kingdom
74 Posts

Posted - 22 March 2013 :  10:45:21  Show Profile  Reply with Quote
I've got myself confused!! I have just created a new forum, then added a topic, but I get 0 Topics and Posts count. I manually changed the counts F_TOPICS and F_COUNT in FORUM_FORUM, then when I added another topic the counts incremented, and decremented when the new topic was deleted. Any suggestions as to where I should look will be gratefully received. I am using an SQL database.

Edited by - l2k man on 23 March 2013 16:02:56

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 23 March 2013 :  16:37:53  Show Profile  Visit HuwR's Homepage
Did you set the 'Increase Post Count' option to yes when you created the forum? (that is what F_COUNT indicates, if it was 0 then the forum will not record post counts)

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

l2k man
New Member

United Kingdom
74 Posts

Posted - 23 March 2013 :  17:34:27  Show Profile
Huw,
Many thanks but yes I did

Edited by - l2k man on 24 March 2013 06:51:08
Go to Top of Page

l2k man
New Member

United Kingdom
74 Posts

Posted - 24 March 2013 :  07:32:27  Show Profile
AH SORTED When I changed from an Access database to SQL I found some parameters where not transferred. This is another one! I had to change the General/Default Value from nothing to 0. I guess it is better to make sure all numeric (integer) fields have a default value of 0.

Edited by - l2k man on 24 March 2013 07:39:25
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 24 March 2013 :  08:55:38  Show Profile  Visit HuwR's Homepage
Ah yes, that would probably do it

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

l2k man
New Member

United Kingdom
74 Posts

Posted - 24 March 2013 :  09:14:23  Show Profile
Huw,
As a matter of interest, how are these parameters set when setting up a Snitz forum with a SQL database? When making the transfer I had to trawl through the tables setting the Identity Specification to autoincrement those fields that Autonumber in Access.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 24 March 2013 :  10:55:12  Show Profile  Visit HuwR's Homepage
Snitz uses scripts to set up the tables with the correct defaults etc.

When transferring from acess to SQL we always recomend that you use the snitz setup to create all the tables and then transfer the data from the access db to the sql db, doing it any other way normally ends in the situation you describe.

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

l2k man
New Member

United Kingdom
74 Posts

Posted - 24 March 2013 :  11:35:23  Show Profile
Huw,
Many thanks again. I didn't come across that recommendation when I was making the transition. Hopefully this topic will benefit someone else.

Having researched again, and I don't know why it didn't come up when I looked before, I found this in the Archives. Anyone else moving from Access to SQL should read it before doing anything.

http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=63884

Edited by - l2k man on 25 March 2013 12:11:34
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 25 March 2013 :  12:39:04  Show Profile  Visit HuwR's Homepage
Yes, that is the one

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

l2k man
New Member

United Kingdom
74 Posts

Posted - 25 March 2013 :  15:11:53  Show Profile
Huw,
Perhaps it needs re-invigorating. My searches, including the archives didn't find it. I came across it from http://snitzdemo.reddiweb.com/Content/Forums/forum.aspx?FORUM=22
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07