Telegram_2020-04-14T11

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2020 > 04 > 14 >

Telegram_2020-04-14T11

Telegram link

 

2020-04-14T11:05:35

 

Thank you Vlademir.

 

I am going to check on this. I am not creating objects in every form. I use a Datamodule(DM) with all the related queries. So, all the db components are in there.

 

I control the number of DMs created using the TIwPoolDatamodules and get access to it.

 

What I have noticed is that sometimes a form were not releasing the ADDRESS REFERENCE but the lock to the pool. The next time that the form renders is using the old DM address reference.

 

So I am now stting to nil the form DM variable reference every time I unlock a DM.

 

This is really ugly. The code is becoming a mess.

 


 

Telegram link

 

2020-04-14T11:06:51

 

I'm going to try an alternative provided by Alexandre Machado. Let you know.

 

Please if you have any experience on this I would like to know any tips.