Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » SQL Insert Statement without a value[SOLVED]
SQL Insert Statement without a value[SOLVED] [message #3139] Mon, 08 May 2006 23:17 Go to previous message
Justin is currently offline  Justin
Messages: 57
Registered: March 2006
Location: Orange County California
Member
Hi Guys,

I am trying the following insert command and it is working. However, this command does not work if the fields are empty. Is there a simple way for this to work without having to validate each field and create some type of NULL value?




	sql*Insert(NC_SUPPORT)("name", ~supportform.edtName)("company", ~supportform.edtCompany)
						("email", ~supportform.edtEmail)("status", ~supportform.lstStatus)
						("phone", ~supportform.edtPhone)("country", ~supportform.lstCountry)
						("product", ~supportform.lstProduct)("units", ~supportform.edtUnits);




[Updated on: Tue, 09 May 2006 01:44]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SqlExp and LIMIT
Next Topic: SQL, U++, and Escape Characters[SOLVED]
Goto Forum:
  


Current Time: Sat Jul 05 11:14:17 CEST 2025

Total time taken to generate the page: 0.03577 seconds