B
Bob L
I'm trying to incorporate the .asp code from the MS Knowledge base article
Q321439 into a website and am having trouble getting info from the logon
database. The database is created in Access 97 and has three columns: User
ID ("UID"), Password ("PWD"), and a Client Number ("CLIENTNO"). All of
these values are stored as text in table "tblUsers".
The select string from Q321439 that is used for the database query works
fine as you would expect since it's directly copied from the article. For
example, for user "Ken" with password "4321" the vbscript generates the
following string: SELECT * FROM tblUsers WHERE (UID='Ken' AND PWD='4321');
Once I have the correct UID and PWD combination entered, I then want to get
the CLIENTNO from the UID. But I'm unable to get the CLIENTNO when I do a
query with this string generated from vbscript: SELECT CLIENTNO FROM
tblUsers WHERE (UID='Ken'); Is there something wrong with this string?
Q321439 into a website and am having trouble getting info from the logon
database. The database is created in Access 97 and has three columns: User
ID ("UID"), Password ("PWD"), and a Client Number ("CLIENTNO"). All of
these values are stored as text in table "tblUsers".
The select string from Q321439 that is used for the database query works
fine as you would expect since it's directly copied from the article. For
example, for user "Ken" with password "4321" the vbscript generates the
following string: SELECT * FROM tblUsers WHERE (UID='Ken' AND PWD='4321');
Once I have the correct UID and PWD combination entered, I then want to get
the CLIENTNO from the UID. But I'm unable to get the CLIENTNO when I do a
query with this string generated from vbscript: SELECT CLIENTNO FROM
tblUsers WHERE (UID='Ken'); Is there something wrong with this string?