0
SQL Parimeters(MMColParam) Missing In String - ASP/VBS / Access
Explorer
,
/t5/dreamweaver-discussions/sql-parimeters-mmcolparam-missing-in-string-asp-vbs-access/td-p/739997
Jan 23, 2007
Jan 23, 2007
Copy link to clipboard
Copied
Hi all,
Can any one suggest what might be up here,
Im making a recordset from an acces database...
Im using DW8 with update.
My other recordsets are fine but this one is giving me trouble.
When I make the connection to the recordset and add my SQL string and parimeters it all goes in well..
But the actual code on the page is showing ? question marks in the connections section on the page
EG: This is what i put in....
SELECT field_id, FROM table WHERE field_1 = MMColParam and field_2 <> MMColParam2 and field_3 <> 137 ORDER BY field_2 ASC
This is what goes on the page and errors at runtime..
SELECT field_id, FROM table WHERE field_1 = ? and field_2 <> ? and field_3 <> 137 ORDER BY field_2 ASC
I cant figure it out as im doing what ive done a thousand times now?? Even if I manually change the question marks it doesnt fix the problem as they revert back...??
Any suggestions are very welcome.
Thanks
W
Can any one suggest what might be up here,
Im making a recordset from an acces database...
Im using DW8 with update.
My other recordsets are fine but this one is giving me trouble.
When I make the connection to the recordset and add my SQL string and parimeters it all goes in well..
But the actual code on the page is showing ? question marks in the connections section on the page
EG: This is what i put in....
SELECT field_id, FROM table WHERE field_1 = MMColParam and field_2 <> MMColParam2 and field_3 <> 137 ORDER BY field_2 ASC
This is what goes on the page and errors at runtime..
SELECT field_id, FROM table WHERE field_1 = ? and field_2 <> ? and field_3 <> 137 ORDER BY field_2 ASC
I cant figure it out as im doing what ive done a thousand times now?? Even if I manually change the question marks it doesnt fix the problem as they revert back...??
Any suggestions are very welcome.
Thanks
W
TOPICS
Server side applications
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
LATEST
/t5/dreamweaver-discussions/sql-parimeters-mmcolparam-missing-in-string-asp-vbs-access/m-p/739998#M172435
Jan 23, 2007
Jan 23, 2007
Copy link to clipboard
Copied
The ? means that that it is expecting a variable. Below the
statement it
should have added a list of parameter names and where their values come
from.
--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"webstaffuk" <webforumsuser@macromedia.com> wrote in message
news:ep5igp$bte$1@forums.macromedia.com...
> Hi all,
> Can any one suggest what might be up here,
>
> Im making a recordset from an acces database...
> Im using DW8 with update.
>
> My other recordsets are fine but this one is giving me trouble.
>
> When I make the connection to the recordset and add my SQL string and
> parimeters it all goes in well..
> But the actual code on the page is showing ? question marks in the
> connections
> section on the page
>
> EG: This is what i put in....
>
> SELECT field_id, FROM table WHERE field_1 = MMColParam and field_2 <>
> MMColParam2 and field_3 <> 137 ORDER BY field_2 ASC
>
> This is what goes on the page and errors at runtime..
>
> SELECT field_id, FROM table WHERE field_1 = ? and field_2 <> ? and
> field_3 <>
> 137 ORDER BY field_2 ASC
>
> I cant figure it out as im doing what ive done a thousand times now?? Even
> if
> I manually change the question marks it doesnt fix the problem as they
> revert
> back...??
>
> Any suggestions are very welcome.
> Thanks
> W
>
>
>
should have added a list of parameter names and where their values come
from.
--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"webstaffuk" <webforumsuser@macromedia.com> wrote in message
news:ep5igp$bte$1@forums.macromedia.com...
> Hi all,
> Can any one suggest what might be up here,
>
> Im making a recordset from an acces database...
> Im using DW8 with update.
>
> My other recordsets are fine but this one is giving me trouble.
>
> When I make the connection to the recordset and add my SQL string and
> parimeters it all goes in well..
> But the actual code on the page is showing ? question marks in the
> connections
> section on the page
>
> EG: This is what i put in....
>
> SELECT field_id, FROM table WHERE field_1 = MMColParam and field_2 <>
> MMColParam2 and field_3 <> 137 ORDER BY field_2 ASC
>
> This is what goes on the page and errors at runtime..
>
> SELECT field_id, FROM table WHERE field_1 = ? and field_2 <> ? and
> field_3 <>
> 137 ORDER BY field_2 ASC
>
> I cant figure it out as im doing what ive done a thousand times now?? Even
> if
> I manually change the question marks it doesnt fix the problem as they
> revert
> back...??
>
> Any suggestions are very welcome.
> Thanks
> W
>
>
>
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

