quote:
Originally posted by richfed
Alright ... I redid pop_fame and the dbs file to what you have just currently posted. Ran the dbs file again.
Here is the message after running the database upgrade:
Hall of Fame 1.0
Dropping Table..
Table does not exist
--------------------------------------------------------------------------------
Creating table(s)...
CREATE TABLE FORUM_HALL_OF_FAME( HF_ITEM#INT#IDENTITY (1,1)# int IDENTITY (1, 1) PRIMARY KEY NOT NULL , HF_MEMBER_ID int NOT NULL , HF_MEMBER_NAME nvarchar(75) NOT NULL , HF_SUBJECT nvarchar(255) NOT NULL , HF_DATE nvarchar(14)not null NOT NULL , HF_DESCRIPTION ntext NOT NULL , HF_TOPIC_ID int NOT NULL , HF_REPLY_ID int NOT NULL )
Table already exists
--------------------------------------------------------------------------------
Database setup finished
Think I found its hangup. If I insert a blank (no key) line, it seems to like it.
Hall of Fame 1.0
[DROP]
HALL_OF_FAME
[END]
[CREATE]
HALL_OF_FAME
HF_ITEM#INT#IDENTITY (1,1)#
HF_MEMBER_ID#INT##
HF_MEMBER_NAME#VARCHAR(75)##
HF_SUBJECT#VARCHAR(255)##
HF_DATE#VARCHAR(14)##
HF_DESCRIPTION#MEMO##
HF_TOPIC_ID#INT##
HF_REPLY_ID#INT##
[END]
quote:
----> Question: How can I change the background color in the left most field to that in the now gone [thankfully] right-most field?
Change line 77 to say:
" <td width=""100"" bgcolor=""" & strPageBGColor & """>" & vbNewLine & _
quote:
After clicking on the "Hall of Fame" button, I get this error:
Microsoft OLE DB Provider for SQL Server error '80040e14'
Line 1: Incorrect syntax near 's'.
/messageboard/pop_fame.asp, line 64
Here, this is sanitized for Sql:
"pop_fame.asp"