You only had ftDefault. If no "default" is set, then the db gateways don't
set a default.


On Fri, Feb 22, 2013 at 2:25 PM, AJ Mercer <[email protected]> wrote:

> Farcry 6-1-5 / ms sql server
> did not set default of 1 for this property when deployed
> all fields set to NULL
>
>
> On 22 February 2013 11:20, Blair McKenzie <[email protected]> wrote:
>
>> "default" is used for the database and I believe as ftDefault if that
>> isn't defined. ftDefault is only used for object initialization in FarCry.
>> Versions of FarCry before 6.1 didn't deploy database defaults properly, but
>> the db rewrite in 6.1 fixed that.
>>
>>
>> On Fri, Feb 22, 2013 at 2:13 PM, AJ Mercer <[email protected]> wrote:
>>
>>> This is the new property I have added - and now deployed.
>>> I was expecting that all existing records would get this field added
>>> with a value of 1
>>> but this is not the case
>>>
>>> Is there a was to set default value for existing records?
>>>
>>>
>>>
>>> <cfproperty
>>>     ftSeq="2065"
>>>     ftFieldset="Login Details"      ftWizardStep="Login"
>>>     name="bSendActivatedEmail"
>>>     type="boolean"
>>>     fthint="Send email to client when account is set to Active"
>>>     *ftdefault="1" default="1"** *
>>>     required="no"
>>> ftLabel="Send Client Activated Email"
>>> ftType="boolean" /> <!--- bSave="0" --->
>>>
>>>
>>> On 22 February 2013 10:48, AJ Mercer <[email protected]> wrote:
>>>
>>>> If on my type I have a property and have attribute
>>>>     bSave="0"
>>>> Should that not create a field in the database?
>>>>
>>>> Farcry want to deploy it.
>>>>
>>>> Is there a way to have a property show up on the form, but not in the
>>>> database?
>>>>
>>>> In my BeforeSave() I want to check the value of the property that will
>>>> be used to determine if stuff happens (send an email)
>>>>  --
>>>>
>>>> *AJ Mercer*
>>>> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org
>>>> community="Open" /> <http://webonix.org>
>>>> http://twitter.com/webonix
>>>> Railo Community Manager<http://www.getrailo.org/index.cfm/community/team/>
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> *AJ Mercer*
>>> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org
>>> community="Open" /> <http://webonix.org>
>>> http://twitter.com/webonix
>>> Railo Community Manager<http://www.getrailo.org/index.cfm/community/team/>
>>>
>>> --
>>> You received this message cos you are subscribed to "farcry-dev" Google
>>> group.
>>> To post, email: [email protected]
>>> To unsubscribe, email: [email protected]
>>> For more options: http://groups.google.com/group/farcry-dev
>>> --------------------------------
>>> Follow us on Twitter: http://twitter.com/farcry
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "farcry-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>  --
>> You received this message cos you are subscribed to "farcry-dev" Google
>> group.
>> To post, email: [email protected]
>> To unsubscribe, email: [email protected]
>> For more options: http://groups.google.com/group/farcry-dev
>> --------------------------------
>> Follow us on Twitter: http://twitter.com/farcry
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "farcry-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
>
> --
>
> *AJ Mercer*
> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org
> community="Open" /> <http://webonix.org>
> http://twitter.com/webonix
> Railo Community Manager<http://www.getrailo.org/index.cfm/community/team/>
>
> --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: [email protected]
> To unsubscribe, email: [email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
> ---
> You received this message because you are subscribed to the Google Groups
> "farcry-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
--- 
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to