Jump to content

Recommended Posts

Posted

Hello,

I have an application using multiple TUniFrame on demand, like in MainDemo.
in MainModule I have a DBconnection and tables, and on Frames I have all DataAware components
and TUniDatasource with Dataset property = uniMainModule.myQuery

At design time  the connection works as expected and data shown in my grid,
but every time I close the frame and then I reopen it, the TUniDatasource.Dataset property become always empty...
And of course the link is lost at run time also.

This do not happens if I assign to the UniDatasource.Dataset a local dataset on the TUniFrame.
Am I doing something wrong ?

BR

 

Posted

Yes, MainModule is always open and also DB connected, when I open other frames...

I had frames in a project subfolder, and moved them in the same folder of prj together with MainModule, but result do not change.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...