StrataFrame Forum

How to pass a value from a form to a BO SetDefaultValues event?

http://forum.strataframe.net/Topic21040.aspx

By Michael Reese - 12/5/2008

What is the recommended way to pass a value from a windows form to the SetDefaultValues event in the BO.

Thanks 

By Greg McGuffey - 12/5/2008

I usually create a property on the BO (not a custom field property...i.e. one that is bindable, just a regular property). I then set the value when appropriate, depending on the circumstances, but before the property is needed.
By Michael Reese - 12/5/2008

Perfect,

Thanx Much!!

By Greg McGuffey - 12/8/2008

Glad it helped!
By Peter Jones - 12/9/2008

Hi Michael,

I don't know if this helps at all but we set default values in the database and pop them into the forms at run time. Take a look at:

http://forum.strataframe.net/Topic10223-6-1.aspx

Cheers, Peter