H
Harddrive747
I have created a database that has a couple of tables that I need to insert
records into. FrontPage will not allow me to add records to multiple tables
from a form.
So what I would like to do is to send it to another asp page and do an
insert query, so the query would look something like this:
INSERT INTO Activities (Activity_Date)
VALUES :Act_Date:
Now the Act_Date is a "DATE" field on the form. The information is getting
passed to the new page, but it gives me the following error
Database Results Wizard Error
Unable to find operator in query string. Query string currently is INSERT
INTO Activities (Activity_Date) VALUES :Act_Date:
So I add the operator of an equal sign, which makes the VALUES look like
(=::Act_Date: and then I get the following error,
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.
So I add the s-columnnames and types and it still gives me the same error.
So I'm looking to be able to add the record from information on another
form. Or is there a way, I can update multiple tables when I send the
information to a datbase?
I also have thought about adding a blank record then updating the fields
from there. However, I have a table that I need the Activity ID from one
table and the Contact ID from a second table.
I look forward to the answer
records into. FrontPage will not allow me to add records to multiple tables
from a form.
So what I would like to do is to send it to another asp page and do an
insert query, so the query would look something like this:
INSERT INTO Activities (Activity_Date)
VALUES :Act_Date:
Now the Act_Date is a "DATE" field on the form. The information is getting
passed to the new page, but it gives me the following error
Database Results Wizard Error
Unable to find operator in query string. Query string currently is INSERT
INTO Activities (Activity_Date) VALUES :Act_Date:
So I add the operator of an equal sign, which makes the VALUES look like
(=::Act_Date: and then I get the following error,
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.
So I add the s-columnnames and types and it still gives me the same error.
So I'm looking to be able to add the record from information on another
form. Or is there a way, I can update multiple tables when I send the
information to a datbase?
I also have thought about adding a blank record then updating the fields
from there. However, I have a table that I need the Activity ID from one
table and the Contact ID from a second table.
I look forward to the answer