C
CharlesKiel
I'm using Frontpage 2003 and asp pages to try and view database
results. I'm having a problem either with the query I"m using or
getting the page to take the Paramater to insert into the query.
Can someone tell me why this query would work:
SELECT VIDEOS.* FROM VIDEOS, SHOWS WHERE SHOWS.VOLUME = 1 and
SHOWS.VIDEO = VIDEOS.ID
I can change the shows.volume value to anything I want in the query,
but when I try this;
SELECT VIDEOS.* FROM VIDEOS, SHOWS WHERE SHOWS.VOLUME = ::vol:: and
SHOWS.VIDEO = VIDEOS.ID
and use this url "site.com/page.asp?vol=1" if gives me the following.
----------
Database Results Wizard Error
Your page contains a query with user input parameters that could not be
resolved.
This could happen if your DatabaseRegionStart webbot has an empty or
missing s-columnnames or s-columntypes attributes.
You may need to read Microsoft Knowledge Base Article 817029.
One or more form fields were empty. You should provide default values
for all form fields that are used in the query.
----------
That article it refers to give me similar results after I've followed
it's instructions. I'm using a simiar query elsewhere on the site:
SELECT * FROM Artists where ID = ::id::
on a url: site.com/artist?id=1
and it gives me no problems. Any idea?
results. I'm having a problem either with the query I"m using or
getting the page to take the Paramater to insert into the query.
Can someone tell me why this query would work:
SELECT VIDEOS.* FROM VIDEOS, SHOWS WHERE SHOWS.VOLUME = 1 and
SHOWS.VIDEO = VIDEOS.ID
I can change the shows.volume value to anything I want in the query,
but when I try this;
SELECT VIDEOS.* FROM VIDEOS, SHOWS WHERE SHOWS.VOLUME = ::vol:: and
SHOWS.VIDEO = VIDEOS.ID
and use this url "site.com/page.asp?vol=1" if gives me the following.
----------
Database Results Wizard Error
Your page contains a query with user input parameters that could not be
resolved.
This could happen if your DatabaseRegionStart webbot has an empty or
missing s-columnnames or s-columntypes attributes.
You may need to read Microsoft Knowledge Base Article 817029.
One or more form fields were empty. You should provide default values
for all form fields that are used in the query.
----------
That article it refers to give me similar results after I've followed
it's instructions. I'm using a simiar query elsewhere on the site:
SELECT * FROM Artists where ID = ::id::
on a url: site.com/artist?id=1
and it gives me no problems. Any idea?