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


Author
Message
Peter Jones
Peter Jones
Advanced StrataFrame User (518 reputation)Advanced StrataFrame User (518 reputation)Advanced StrataFrame User (518 reputation)Advanced StrataFrame User (518 reputation)Advanced StrataFrame User (518 reputation)Advanced StrataFrame User (518 reputation)Advanced StrataFrame User (518 reputation)Advanced StrataFrame User (518 reputation)Advanced StrataFrame User (518 reputation)
Group: Forum Members
Posts: 386, Visits: 2.1K
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

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Glad it helped!
Michael Reese
Michael Reese
StrataFrame User (407 reputation)StrataFrame User (407 reputation)StrataFrame User (407 reputation)StrataFrame User (407 reputation)StrataFrame User (407 reputation)StrataFrame User (407 reputation)StrataFrame User (407 reputation)StrataFrame User (407 reputation)StrataFrame User (407 reputation)
Group: StrataFrame Users
Posts: 235, Visits: 1.6K
Perfect,

Thanx Much!!

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
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.
Michael Reese
Michael Reese
StrataFrame User (407 reputation)StrataFrame User (407 reputation)StrataFrame User (407 reputation)StrataFrame User (407 reputation)StrataFrame User (407 reputation)StrataFrame User (407 reputation)StrataFrame User (407 reputation)StrataFrame User (407 reputation)StrataFrame User (407 reputation)
Group: StrataFrame Users
Posts: 235, Visits: 1.6K
What is the recommended way to pass a value from a windows form to the SetDefaultValues event in the BO.

Thanks 

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search