Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
The ScareCrow #1
Re:Blank form fields passed to SQL
In your sql statement, check if the value is empty. I don't know what scripting language you are using so I will give an example using coldfusion
Update myTable
Set myname = 'this is my name'
<cfif Len(Trim(form.field1)>, field1 = #form.field1#</cfif>
So basically trim the form field to get rid of any spaces, then check the length, if it is greater than zero the table field will be set to the form field if no nothing will be done and the defualt value will be inserted.
Ken
If you never ask, you never get an answer.
ScareCrow Application Development
The ScareCrow Guest
-
Help with Access fields when they are to remain blank
I have some sections of my database that will be left empty. I am trying to update my database via my web admin pages without any success. What... -
blank spaces in text fields in form
I am a newbie. I have a simple form with just a few fields. A user fills out the form, goes to another page to preview his/her entries, and then may... -
Blank fields in database
Hi, I have a blank field in the database for Address. How do I refer to that? For ex: Set hrRS = Server.CreateObject("ADODB.Recordset") ... -
Rejecting blank fields in forms
Hi All, I hope that someone maybe able to help me with this question. At the moment I have the following line of code that checks if a field is... -
Datasheet Fields Blank
Hi , When using a datasheet view on Subform. Everytime I move to the next record, my fields on the previous record which have the Requery...



Reply With Quote

