Jump to content
patcat

BindLinkFMXProject, where is the data?

Recommended Posts

Hi!

 

Delphi beginner here, I'm trying to understand the BindLinkFMXProject project provided with the Delphi IDE, nowhere I see where the database in .\common\fishfacts.cds is bound to the data in the code or in the FMX.

 

Anobyd knows how it works?

 

Thanks!

 

Share this post


Link to post

It's Livebindings. 

On your form you certainly have a TClientDataset  (database name is now C:\Users\Public\Documents\Embarcadero\Studio\21.0\Samples\Data\biolife.cds)  

 a TBindingList and a TBindSourceDB

image.thumb.png.36e1f36fcb65a4ce25fb01909d513dd8.png

Share this post


Link to post

I'm referring to a different project actually:

 

image.thumb.png.0963a296fea9b745699176fd42ca00ab.png

 

As you can see, the property "FileName" is empty, and there's still data available in design mode.

Share this post


Link to post
25 minutes ago, programmerdelphi2k said:

@patcat

 

  • open your "FORM" as text and see the "data"  embedded

image.thumb.png.36e88fb6edfc423b5f1ab01472ea6665.png

Ah of course, I looked into it, saw the Bitmap.PNG and thought it was it till the end of the file...

 

Thanks!

Share this post


Link to post
21 hours ago, patcat said:

I'm referring to a different project actually:

As you can see, the property "FileName" is empty, and there's still data available in design mode.

Sorry, I found file fishfacts.cds  in <RadStudioDemos-Main> \Object Pascal\LiveBindings\common demo found here on GitHub

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

×