Skip to main content
Participant
March 4, 2008
Answered

ASP Comments form

  • March 4, 2008
  • 1 reply
  • 504 views
I am a bit lost with this one.
I have a list of recipes. Each recipe is shown on a details page. I have added an Add comment form at the bottom and a latest comments list. The database has a table for recipes and a table for comments. Recipe ID linked to Comment number.
The recipe shows ok without comments added. as soon as I add the comments fields I get an error.

I can't work out how to show the comments info.
At the moment I have this:
SELECT *
FROM RecComments
WHERE RecID = MMColParam

To show comments but I get the following error:
Microsoft VBScript compilation error '800a0411'
Name redefined
/Connections/CMRecipes.asp, line 8
Dim MM_CMRecipes_STRING

Please help.
Thanks
This topic has been closed for replies.
Correct answer Newsgroup_User
> Microsoft VBScript compilation error '800a0411'
> Name redefined
> /Connections/CMRecipes.asp, line 8
> Dim MM_CMRecipes_STRING



Sometimes, Dreamweaver will add the same line twice. Look in source view,
and you'll see that Line 7 and Line 8 are identical. Delete one of them and
that error will go away.

1 reply

Newsgroup_UserCorrect answer
Inspiring
March 5, 2008
> Microsoft VBScript compilation error '800a0411'
> Name redefined
> /Connections/CMRecipes.asp, line 8
> Dim MM_CMRecipes_STRING



Sometimes, Dreamweaver will add the same line twice. Look in source view,
and you'll see that Line 7 and Line 8 are identical. Delete one of them and
that error will go away.

Andy7262Author
Participant
March 5, 2008
Thanks for the help.
I noticed that as well. It's now working fine.