H
Harddrive747
I have followed the instruction on Microsoft's web site to create a simple
password protected web pages. I'm able to query the database for user name
and passowrd and compare them, just like the article from Microsoft tells me
to.
Now what I want to do at the top of each page that is password protected is
to show the user name, a logout button and to have an EDIT button or link. I
haven't decided which.
When the user clicks the EDIT link, I will have it go to their record in the
Contacts table.
Now what I want to do is to query the database for the ID Number of the
user. I'm able to get the query to work. The query is
Select Contact_Id from Contacts where UID='<userid>'
I want to get the value of Contact_Id so that I can place it in the
hyperlink section for th EDIT link so that when I go to edit their record, I
can pull up the correct record.
So how do I get the actual value of Contact_Id? I can't use the WEBBOT
because I can't pass a variable into the query. If there is a way to do
that, then let me know. I have tried ::<variable Name>>:: and it won't work.
So any help of getting the actual value returned by the SQL Select statement
would be greatly apprechiated.
Thanks
Terry
password protected web pages. I'm able to query the database for user name
and passowrd and compare them, just like the article from Microsoft tells me
to.
Now what I want to do at the top of each page that is password protected is
to show the user name, a logout button and to have an EDIT button or link. I
haven't decided which.
When the user clicks the EDIT link, I will have it go to their record in the
Contacts table.
Now what I want to do is to query the database for the ID Number of the
user. I'm able to get the query to work. The query is
Select Contact_Id from Contacts where UID='<userid>'
I want to get the value of Contact_Id so that I can place it in the
hyperlink section for th EDIT link so that when I go to edit their record, I
can pull up the correct record.
So how do I get the actual value of Contact_Id? I can't use the WEBBOT
because I can't pass a variable into the query. If there is a way to do
that, then let me know. I have tried ::<variable Name>>:: and it won't work.
So any help of getting the actual value returned by the SQL Select statement
would be greatly apprechiated.
Thanks
Terry