SQL Help

T

TAT

Hello,

I was hoping someone could help me with the following SQL script in putting
in a Data Access Page. It works in Access but not my web page.

Thanks for your help.

SELECT Sheet1.HRIS, Sheet1.PW, Sheet1.Points
FROM Sheet1
WHERE (((Sheet1.HRIS)=[Enter HRIS]) AND ((Sheet1.PW)=[Enter Password]));
 
K

Kevin Spencer

Actually, assuming that the table name is "Sheet1," it should be the first
version.

The problem is that this is a parameterized query. Your web page doesn't
take Access parameters. It takes form input, query string data, etc.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Hard work is a medication for which
there is no placebo.

TAT said:
Oh, and I realize the first line should look like:

SELECT * FROM "Points"

Thanks!

TAT said:
Hello,

I was hoping someone could help me with the following SQL script in
putting
in a Data Access Page. It works in Access but not my web page.

Thanks for your help.

SELECT Sheet1.HRIS, Sheet1.PW, Sheet1.Points
FROM Sheet1
WHERE (((Sheet1.HRIS)=[Enter HRIS]) AND ((Sheet1.PW)=[Enter Password]));
 
T

TAT

Well that explains that. I went ahead and created a search form and it works
fine. Thanks

Kevin Spencer said:
Actually, assuming that the table name is "Sheet1," it should be the first
version.

The problem is that this is a parameterized query. Your web page doesn't
take Access parameters. It takes form input, query string data, etc.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Hard work is a medication for which
there is no placebo.

TAT said:
Oh, and I realize the first line should look like:

SELECT * FROM "Points"

Thanks!

TAT said:
Hello,

I was hoping someone could help me with the following SQL script in
putting
in a Data Access Page. It works in Access but not my web page.

Thanks for your help.

SELECT Sheet1.HRIS, Sheet1.PW, Sheet1.Points
FROM Sheet1
WHERE (((Sheet1.HRIS)=[Enter HRIS]) AND ((Sheet1.PW)=[Enter Password]));
 
K

Kevin Spencer

:-D

--
Kevin Spencer
Microsoft MVP
Professional Numbskull

Hard work is a medication for which
there is no placebo.

TAT said:
Well that explains that. I went ahead and created a search form and it
works
fine. Thanks

Kevin Spencer said:
Actually, assuming that the table name is "Sheet1," it should be the
first
version.

The problem is that this is a parameterized query. Your web page doesn't
take Access parameters. It takes form input, query string data, etc.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Hard work is a medication for which
there is no placebo.

TAT said:
Oh, and I realize the first line should look like:

SELECT * FROM "Points"

Thanks!

:

Hello,

I was hoping someone could help me with the following SQL script in
putting
in a Data Access Page. It works in Access but not my web page.

Thanks for your help.

SELECT Sheet1.HRIS, Sheet1.PW, Sheet1.Points
FROM Sheet1
WHERE (((Sheet1.HRIS)=[Enter HRIS]) AND ((Sheet1.PW)=[Enter
Password]));
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top