I know they shouldn't, but don't understand why I added them there
There is this line (line 209) in inc_create_forums_sqlx.asp :
strSql = strSql & "TOPIC_ID int IDENTITY (1, 1) NOT NULL , "
that should be:
strSql = strSql & "TOPIC_ID int NOT NULL , "
and this line (line 230):
strSql = strSql & "REPLY_ID int IDENTITY (1, 1) NOT NULL , "
that should be:
strSql = strSql & "REPLY_ID int NOT NULL , "
and in inc_create_forums_mysql.asp, line 280:
strSql = strSql & "TOPIC_ID int (11) DEFAULT '' NOT NULL auto_increment, "
should be:
strSql = strSql & "TOPIC_ID int (11) DEFAULT '' NOT NULL, "
and line 306:
strSql = strSql & "REPLY_ID int (11) DEFAULT '' NOT NULL auto_increment, "
should be:
strSql = strSql & "REPLY_ID int (11) DEFAULT '' NOT NULL, "
The same problem in setup.asp
Line 1333:
SpecialSql5(Access) = SpecialSql5(Access) & "TOPIC_ID COUNTER CONSTRAINT PrimaryKey PRIMARY KEY , "
should be:
SpecialSql5(Access) = SpecialSql5(Access) & "TOPIC_ID int CONSTRAINT PrimaryKey PRIMARY KEY , "
Line 1350:
SpecialSql5(SQL6) = SpecialSql5(SQL6) & "TOPIC_ID int IDENTITY (1, 1) NOT NULL , "
should be:
SpecialSql5(SQL6) = SpecialSql5(SQL6) & "TOPIC_ID int NOT NULL , "
Line 1367:
SpecialSql5(SQL7) = SpecialSql5(SQL7) & "TOPIC_ID int IDENTITY (1, 1) NOT NULL , "
should be:
SpecialSql5(SQL7) = SpecialSql5(SQL7) & "TOPIC_ID int NOT NULL , "
Line 1384:
SpecialSql5(MySql) = SpecialSql5(MySql) & "TOPIC_ID int (11) DEFAULT '' NOT NULL auto_increment, "
should be:
SpecialSql5(MySql) = SpecialSql5(MySql) & "TOPIC_ID int (11) DEFAULT '' NOT NULL, "
Only the Access database in the tools.zip file is correct.
Users performing a new install using Access won't have a problem.
Pierre
Join a Snitz Mailinglist
Fixed typo...Thanks Huw !!