Click here to Skip to main content
15,908,775 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: IIS Question (warning: large post ahead) Pin
estebanf23-Apr-02 11:55
estebanf23-Apr-02 11:55 
GeneralRe: IIS Question (warning: large post ahead) Pin
Domenic Denicola22-Apr-02 17:06
Domenic Denicola22-Apr-02 17:06 
GeneralRe: IIS Question (warning: large post ahead) Pin
Matt Gullett23-Apr-02 3:36
Matt Gullett23-Apr-02 3:36 
GeneralADO/SQL question Pin
alex.barylski22-Apr-02 12:59
alex.barylski22-Apr-02 12:59 
GeneralRe: ADO/SQL question Pin
Konstantin Vasserman22-Apr-02 15:24
Konstantin Vasserman22-Apr-02 15:24 
GeneralRe: ADO/SQL question Pin
alex.barylski22-Apr-02 22:17
alex.barylski22-Apr-02 22:17 
GeneralRe: ADO/SQL question Pin
James T. Johnson22-Apr-02 22:43
James T. Johnson22-Apr-02 22:43 
GeneralRe: ADO/SQL question Pin
Konstantin Vasserman23-Apr-02 0:53
Konstantin Vasserman23-Apr-02 0:53 
Well, then James is right and your code should look like this:

Dim SQL, Keywords
<br> <br>
Keywords = ""
<br> <br>
If microsoftNews.checked Then
      Keywords = Keywords & "'Microsoft',"
End If
If sunNews.checked Then
      Keywords = Keywords & "'Sun',"
End If
If appleNews.checked Then
      Keywords = Keywords & "'Apple',"
End If
<br> <br>
If Len(Keywords) > 0 Then
   ' Remove last comma
   Keywords = Left(Keywords, Len(Keywords) - 1)
End If
<br> <br>
SQL = "SELECT * From News WHERE Source IN (" & Keywords & ")"
'Iterate the recordset and display news items

GeneralRe: ADO/SQL question Pin
alex.barylski23-Apr-02 11:03
alex.barylski23-Apr-02 11:03 
GeneralUse of CDONTS NewMail Object Pin
Bill S22-Apr-02 11:34
professionalBill S22-Apr-02 11:34 
QuestionHow to open a password protected MS Access database? Pin
22-Apr-02 6:04
suss22-Apr-02 6:04 
AnswerRe: How to open a password protected MS Access database? Pin
24-Apr-02 21:58
suss24-Apr-02 21:58 
Generalbreak up line length after N characters Pin
Garth21-Apr-02 23:10
Garth21-Apr-02 23:10 
GeneralRe: break up line length after N characters Pin
Nick Parker22-Apr-02 6:42
protectorNick Parker22-Apr-02 6:42 
GeneralI don't know where to ask this question? Any response is appreciated. Pin
DanYELL19-Apr-02 14:49
DanYELL19-Apr-02 14:49 
GeneralRe: I don't know where to ask this question? Any response is appreciated. Pin
Philip Patrick19-Apr-02 22:05
professionalPhilip Patrick19-Apr-02 22:05 
GeneralRe: I don't know where to ask this question? Any response is appreciated. Pin
Brian Delahunty21-Apr-02 7:17
Brian Delahunty21-Apr-02 7:17 
GeneralRe: I don't know where to ask this question? Any response is appreciated. Pin
alex.barylski22-Apr-02 12:34
alex.barylski22-Apr-02 12:34 
QuestionASP/JScript cookies...? Pin
alex.barylski18-Apr-02 15:37
alex.barylski18-Apr-02 15:37 
AnswerRe: ASP/JScript cookies...? Pin
Glenn Kees19-Apr-02 4:13
Glenn Kees19-Apr-02 4:13 
AnswerRe: ASP/JScript cookies...? Pin
Brian V Shifrin19-Apr-02 4:40
Brian V Shifrin19-Apr-02 4:40 
Generalie6 image toolbar... Pin
l a u r e n18-Apr-02 12:23
l a u r e n18-Apr-02 12:23 
GeneralRe: ie6 image toolbar... Pin
Shog918-Apr-02 12:49
sitebuilderShog918-Apr-02 12:49 
GeneralRe: ie6 image toolbar... Pin
l a u r e n18-Apr-02 20:56
l a u r e n18-Apr-02 20:56 
GeneralRe: ie6 image toolbar... Pin
Nick Parker22-Apr-02 6:46
protectorNick Parker22-Apr-02 6:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.