S
softballweb
I am attempting to create a user log so I can see who and when a user is
accessing a particular page in my FP 2002 generated web. To start with, I am
merely trying to post TeamLogin and Teampassword to an access database
'userstats' table 'Results' by doing a custom query using SQL in the
Frontpage DRW such as:
INSERT INTO Results (TeamLogin, TeamPassword) VALUES ('::TeamLogin::',
'::TeamPassword::')
When I attempt this, I receive an error
"Database Results Error
The operation failed. If this continues, please contact your server
administrator."
However, when I change the values to constants by changing the SQL code
FROM
INSERT INTO Results (TeamLogin, TeamPassword) VALUES ('::TeamLogin::',
'::TeamPassword::')
TO
INSERT INTO Results (TeamLogin, TeamPassword) VALUES ('mylogin',
'mypassword')
IT WORKS .....using the constants, and writes to the file.
Therefore there appears to be a problem in passing the data from the 'forms'
page (login.htm) to the 'add to data' page (add.asp)
I am using the same variables in the forms entry as in the database, and am
posting them using 'Send to other' to add.asp
I am able to display the variables passed from the login.htm on the add.asp
program, so they are getting there
I first go this idea from Commonly used SQL code at
http://www.frontpagehowto.com/sqlcode.htm, but their example does not work
either. Tried contacting them, but well, their contact email bounced back on
me invalid...
Any suggestions on what I might be doing wrong? Their example was using FP
2000 and I am using FP2002.
IF I get past this hurdle, I intend to add other variables to my file
including date and Page and IP, but until I can do the simple, how can I
expect to do anything....
and of course I expect to need help on the system variables also <grin>
Thanks
accessing a particular page in my FP 2002 generated web. To start with, I am
merely trying to post TeamLogin and Teampassword to an access database
'userstats' table 'Results' by doing a custom query using SQL in the
Frontpage DRW such as:
INSERT INTO Results (TeamLogin, TeamPassword) VALUES ('::TeamLogin::',
'::TeamPassword::')
When I attempt this, I receive an error
"Database Results Error
The operation failed. If this continues, please contact your server
administrator."
However, when I change the values to constants by changing the SQL code
FROM
INSERT INTO Results (TeamLogin, TeamPassword) VALUES ('::TeamLogin::',
'::TeamPassword::')
TO
INSERT INTO Results (TeamLogin, TeamPassword) VALUES ('mylogin',
'mypassword')
IT WORKS .....using the constants, and writes to the file.
Therefore there appears to be a problem in passing the data from the 'forms'
page (login.htm) to the 'add to data' page (add.asp)
I am using the same variables in the forms entry as in the database, and am
posting them using 'Send to other' to add.asp
I am able to display the variables passed from the login.htm on the add.asp
program, so they are getting there
I first go this idea from Commonly used SQL code at
http://www.frontpagehowto.com/sqlcode.htm, but their example does not work
either. Tried contacting them, but well, their contact email bounced back on
me invalid...
Any suggestions on what I might be doing wrong? Their example was using FP
2000 and I am using FP2002.
IF I get past this hurdle, I intend to add other variables to my file
including date and Page and IP, but until I can do the simple, how can I
expect to do anything....
and of course I expect to need help on the system variables also <grin>
Thanks