Guest_imported
New member
- Jan 1, 1970
- 0
I have a SELECT statement that needs to select 3
fields from a table:
Grace="SELECT Date1, Date2, 'Consumed' Status" & _
"FROM Table1 WHERE Upper(UserID)='" & UserIDGrace & "'"
1. Why will my ASP page display 'Consumed' under 1 of the
fields in the table displayed when <'Consumed' Status">
is not a field in Table1? What does <Upper(UserID)> do?
2. What are the <& _> behind <'Consumed' Status"> used for?
3. Why is UserIDGrace enclosed in <'" & & "'>?
4. What is the 'wend' used for? is it used to end the
program?
THANX !
fields from a table:
Grace="SELECT Date1, Date2, 'Consumed' Status" & _
"FROM Table1 WHERE Upper(UserID)='" & UserIDGrace & "'"
1. Why will my ASP page display 'Consumed' under 1 of the
fields in the table displayed when <'Consumed' Status">
is not a field in Table1? What does <Upper(UserID)> do?
2. What are the <& _> behind <'Consumed' Status"> used for?
3. Why is UserIDGrace enclosed in <'" & & "'>?
4. What is the 'wend' used for? is it used to end the
program?
THANX !