|
Ok fixed. Needed my TO to say: <cfset this.Amount = 0 /> Vs. <cfset Amount = 0 /> Not sure why it didn’t work with <cfset Amount = 0 /> but didn’t
error. From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] I am creating a record
for the invoice and want it to have several fields have 0 as the default. I’m doing a: <cfset prevInv =
application.ReactorFactory.createRecord("INVOICE")> And in the TO for invoice I have:
But after I dump the prevInv I just created by doing: <cfdump var="#PrevInv._getTo()#"> It is blank. How can I have amount default to 0 when I
create a new record? From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Teddy Payne If you are creating a new
record, you can just call the setter method for that column for the record. On 9/14/06, Mr. Darby
< [EMAIL PROTECTED]>
wrote: Nate, On 9/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote: Where do I set a default
value for a record?
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
- [Reactor for CF] Default value for a column Nate.Owen
- Re: [Reactor for CF] Default value for a column Mr. Darby
- Re: [Reactor for CF] Default value for a column Teddy Payne
- RE: [Reactor for CF] Default value for a column Nate.Owen
- RE: [Reactor for CF] Default value for a column Nate.Owen
- Re: [Reactor for CF] Default value for a column Teddy Payne
- RE: [Reactor for CF] Default value for a column Nate.Owen
- Re: [Reactor for CF] Default value for a column Clayton Partridge
