Hi,
How do I insert a null or blank field into a database using coldfusion? I'm new to CF and its proviing a bit tricky!
My database date field accepts null values (I think - theres no default value or validation rule).
The input box on the form is this:
<input type="text" name="QuotePDat e" maxlength="10" size="12" />
and is handled by the action form as this:
insert into tblWorkshops
(QuotePDate etc..)
values
(#form.QuotePDa te#, etc
How can I get the database to accept the null value? The users of the form won't need to always enter a date, tho they may need to update it later on.
Thanks!
Neil
How do I insert a null or blank field into a database using coldfusion? I'm new to CF and its proviing a bit tricky!
My database date field accepts null values (I think - theres no default value or validation rule).
The input box on the form is this:
<input type="text" name="QuotePDat e" maxlength="10" size="12" />
and is handled by the action form as this:
insert into tblWorkshops
(QuotePDate etc..)
values
(#form.QuotePDa te#, etc
How can I get the database to accept the null value? The users of the form won't need to always enter a date, tho they may need to update it later on.
Thanks!
Neil
Comment