/t5/dreamweaver-discussions/asp-comments-form/td-p/352566Mar 04, 2008
Mar 04, 2008
Copy link to clipboard
Copied
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
> 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.
/t5/dreamweaver-discussions/asp-comments-form/m-p/352567#M93403Mar 04, 2008
Mar 04, 2008
Copy link to clipboard
Copied
> 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.