Click here to Skip to main content
15,887,485 members
Home / Discussions / Web Development
   

Web Development

 
GeneralDefault Button on HTML form Pin
Brian Van Beek31-Mar-05 11:17
Brian Van Beek31-Mar-05 11:17 
GeneralProblems making a proxy server Pin
shaiba31-Mar-05 6:19
shaiba31-Mar-05 6:19 
GeneralDare to Solve it Pin
vipul thakur31-Mar-05 4:12
vipul thakur31-Mar-05 4:12 
QuestionGoogle ads without javascript? Pin
tantiboh30-Mar-05 12:11
tantiboh30-Mar-05 12:11 
AnswerRe: Google ads without javascript?--follow up question Pin
JKroschel6-Apr-05 5:35
JKroschel6-Apr-05 5:35 
GeneralWeb Services Extract/Insert SOAP Body Pin
Poiema30-Mar-05 7:20
Poiema30-Mar-05 7:20 
GeneralCross domain Javascript Pin
Esmo200030-Mar-05 4:09
Esmo200030-Mar-05 4:09 
GeneralNull value Pin
Brendan Vogt29-Mar-05 19:14
Brendan Vogt29-Mar-05 19:14 
Hi
I am using classic ASP. I move from addCustomer.asp to addCustomerProcess.asp. The process section is where I add the data to the database. When a textbox has nothing entered into it, I want it to add Null to the field. How do I do this? Lets say the input textfield is called txtAddress, then in the process section I retrieve it like Request.Form("txtAddress"). In my SQL statement, I will do it like this.

strSQL = "INSERT INTO tblCUstomer (CustAddress) VALUES ('" & Request.Form("txtAddress") & "';"

Now when there was nothing entered in the textfield, a null value must be entered. Would I use a Replace function for this? If so, please advise.

Thanks
GeneralRe: Null value Pin
Colin Angus Mackay30-Mar-05 4:23
Colin Angus Mackay30-Mar-05 4:23 
GeneralRe: Null value [Additional] Pin
Colin Angus Mackay30-Mar-05 19:50
Colin Angus Mackay30-Mar-05 19:50 
GeneralASP Log off Section Pin
Brendan Vogt29-Mar-05 19:06
Brendan Vogt29-Mar-05 19:06 
GeneralRe: ASP Log off Section Pin
AlanJones20053-Apr-05 23:16
AlanJones20053-Apr-05 23:16 
GeneralJavaScript String Comparison Pin
Brendan Vogt29-Mar-05 19:02
Brendan Vogt29-Mar-05 19:02 
GeneralRe: JavaScript String Comparison Pin
Esmo200030-Mar-05 5:10
Esmo200030-Mar-05 5:10 
GeneralRe: JavaScript String Comparison Pin
Yulianto.30-Mar-05 14:45
Yulianto.30-Mar-05 14:45 
GeneralSession Persistence Pin
Brendan Vogt29-Mar-05 18:57
Brendan Vogt29-Mar-05 18:57 
GeneralRe: Session Persistence Pin
Esmo200030-Mar-05 5:14
Esmo200030-Mar-05 5:14 
GeneralRe: Session Persistence Pin
theJazzyBrain6-Apr-05 1:47
theJazzyBrain6-Apr-05 1:47 
GeneralRe: Session Persistence Pin
Anonymous6-Apr-05 9:10
Anonymous6-Apr-05 9:10 
QuestionJavascript "onsave" event?? Pin
Anonymous29-Mar-05 4:38
Anonymous29-Mar-05 4:38 
GeneralUse dll in web apllication but dllhost shutdown Pin
Anonymous28-Mar-05 17:24
Anonymous28-Mar-05 17:24 
GeneralStream live video in internet explorer. Pin
Narayana Vivek28-Mar-05 9:08
Narayana Vivek28-Mar-05 9:08 
Generallink get disconnected on accessing WebServices. Pin
Bobby.NET28-Mar-05 5:13
Bobby.NET28-Mar-05 5:13 
GeneralMore confused Pin
27-Mar-05 23:39
suss27-Mar-05 23:39 
GeneralRe: More confused Pin
Yulianto.28-Mar-05 16:08
Yulianto.28-Mar-05 16:08 

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.