Propagating changes to a LookupEdit


Author
Message
Kirk M Sherhart
Kirk M Sherhart
StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)
Group: Forum Members
Posts: 41, Visits: 259
If I have a DevExpress LookupEdit bound to a BBS for its lookup values, will changes to the BBS's underlying BO (adds, delete, edits) be automatically propagated to the LookupEdit? For example, if a record is deleted from the BO, the next time the LookupEdit is selected, the value would not be presented for selection.



If not, what's the best way to capture and propagate the changes?

Reply
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Kirk,



In this case, you'll want to go with Peter's suggestion and have an event fire when a property is changed. There is a setting in the Business Object Properties were you setup events related to property access/edits. I believe you'd want to have events fire when properties have changed. You can either have a single event for all properties or an event for each property. (See the Configuring Business Objects help topic).



Once you have that setup, you can then subscribe to that event on the form with the LookupEdit. Within the event handler, you'd just requery the LookupEdit to refill it (or however you fill the lookup values with that control).
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