Click here to Skip to main content
15,887,746 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Delete Empty fields from array ! Pin
Oakman12-Nov-09 15:31
Oakman12-Nov-09 15:31 
GeneralRe: Delete Empty fields from array ! Pin
EliottA12-Nov-09 15:37
EliottA12-Nov-09 15:37 
GeneralRe: Delete Empty fields from array ! Pin
EliottA12-Nov-09 15:38
EliottA12-Nov-09 15:38 
AnswerRe: Delete Empty fields from array ! [modified] Pin
MikeMarq12-Nov-09 16:47
MikeMarq12-Nov-09 16:47 
QuestionJunior Sql Query Pin
beker_usa12-Nov-09 11:20
beker_usa12-Nov-09 11:20 
AnswerRe: Junior Sql Query Pin
beker_usa12-Nov-09 11:29
beker_usa12-Nov-09 11:29 
GeneralRe: Junior Sql Query Pin
Christian Graus12-Nov-09 13:17
protectorChristian Graus12-Nov-09 13:17 
AnswerRe: Junior Sql Query Pin
Luc Pattyn12-Nov-09 11:59
sitebuilderLuc Pattyn12-Nov-09 11:59 
... WHERE rate_start <= " & total.text & " AND " & total.text & " <= rate_finish"


How hard can it be?

warnings:
1. you need <=
2. what if the user enters a bad number, e.g. -5?
3. what if the user enters a partial SQL command that would delete your tables?

Recommendations:
4. use PRE tags for a non-proportional font, as I did above.
5. extract, parse and validate your user input; do not directly enter user text into an SQL statement.

Smile | :)

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


QuestionSplit string Pin
ivo7512-Nov-09 7:38
ivo7512-Nov-09 7:38 
AnswerRe: Split string Pin
Luc Pattyn12-Nov-09 7:42
sitebuilderLuc Pattyn12-Nov-09 7:42 
GeneralRe: Split string Pin
Christian Graus12-Nov-09 9:33
protectorChristian Graus12-Nov-09 9:33 
GeneralRe: Split string Pin
Luc Pattyn12-Nov-09 10:20
sitebuilderLuc Pattyn12-Nov-09 10:20 
AnswerRe: Split string Pin
Kschuler12-Nov-09 7:43
Kschuler12-Nov-09 7:43 
GeneralRe: Split string Pin
ivo7512-Nov-09 7:52
ivo7512-Nov-09 7:52 
AnswerRe: Split string Pin
Shameel12-Nov-09 23:16
professionalShameel12-Nov-09 23:16 
QuestionDelete Database entries!!! Pin
jeshra27912-Nov-09 7:36
jeshra27912-Nov-09 7:36 
AnswerRe: Delete Database entries!!! Pin
Kschuler12-Nov-09 7:46
Kschuler12-Nov-09 7:46 
GeneralRe: Delete Database entries!!! Pin
jeshra27912-Nov-09 10:00
jeshra27912-Nov-09 10:00 
GeneralRe: Delete Database entries!!! Pin
Kschuler12-Nov-09 10:03
Kschuler12-Nov-09 10:03 
GeneralRe: Delete Database entries!!! Pin
jeshra27912-Nov-09 10:27
jeshra27912-Nov-09 10:27 
GeneralRe: Delete Database entries!!! Pin
Luc Pattyn12-Nov-09 10:17
sitebuilderLuc Pattyn12-Nov-09 10:17 
AnswerRe: Delete Database entries!!! Pin
The Man from U.N.C.L.E.12-Nov-09 9:29
The Man from U.N.C.L.E.12-Nov-09 9:29 
AnswerRe: Delete Database entries!!! Pin
Oakman12-Nov-09 14:10
Oakman12-Nov-09 14:10 
GeneralRe: Delete Database entries!!! Pin
Luc Pattyn12-Nov-09 14:20
sitebuilderLuc Pattyn12-Nov-09 14:20 
GeneralRe: Delete Database entries!!! Pin
Oakman12-Nov-09 15:29
Oakman12-Nov-09 15:29 

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.