Jump to content
Sign in to follow this  
RP286

How can I link (using LiveBindings) a TDataset on a TDatamodule and a TListView on a TForm in Delphi?

Recommended Posts

Using Livebindings to link a TDataset to a TListview on the same TForm is fine. But I'm still struggling to find a way to connect a TDataset on a TDataModule and a TListView on a TForm using Livebindings. It seems that both the LiveBindings Wizard and the LiveBindings Designer can only work on a datamodule or a form at a time. Is there a standard way to do that, or it's just not possible? Thanks.

Share this post


Link to post

Make sure to add the unit containing the TDataModule to the (at least the implementation) uses clause of your form unit.

Share this post


Link to post

Wow! It works. It's just that simple. Thanks a lot, Uwe.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×