CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

CGEdit Retains Design time text when DataBound

by MCarver » 08 Mar 2016 19:08

CG Gurus,

I have observed that the CGEdit controls retain their design time values when data bound. To explain.. When one activates a corresponding databound dataset, the control renders in design time with the applicable data (which is a nice feature). However, when rendering the control in run time, these CGEdit controls retain the design time data when the dataset is closed.

Please take action to have the databound controls be cleared at runtime when the bound dataset is closed.

Regards,
Monte Carver
MCarver
 
Posts: 48
Joined: 27 Sep 2013 19:15

by zsleo » 08 Mar 2016 20:46

Hi
I have experienced this issue before - I don't think it is a CGD problem. I now take extreme precautions at design time to make sure that all datasets and db connections are closed on all forms and datamodules before a build and before saving/closing forms and datamodules at design time

Regards
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33

by Jorge Sousa » 09 Mar 2016 17:09

Hi all

@MCarver: Leo is right, you shouldn't leave Text from the opened datasets while you save the form, it will be changed only when the dataset will be opened.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Jorge Sousa » 09 Mar 2016 17:09

Hi all

@MCarver: Leo is right, you shouldn't leave Text from the opened datasets while you save the form, it will be changed only when the dataset will be opened.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to JQMEdit

Who is online

Users browsing this forum: No registered users and 3 guests

Contact Us.