CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Debugger Exception / Use of Dropdown

by mpecere » 27 Feb 2020 09:06

When I have dropdown that is lined to both DataSource and ListSource and if ListSource has records and DataSource field DOES NOT have a value (i.e. database field value is null or null-string) then when a dropdown is displayed then for each dropdown that meets this condition error in "image 1" is prompted.

Image1.png


I use Delphi XE8 and CGDevTools 4.1.0.225
You do not have the required permissions to view the files attached to this post.
mpecere
 
Posts: 9
Joined: 27 Nov 2018 18:49

by Alexander Bulei » 03 Mar 2020 15:27

Hi mpecere,

By the exception class name, it's something with OLE objects.
Please check your ServerController.ComInitialization:

viewtopic.php?f=5&t=1366

3rd point.

BR
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by mpecere » 05 Mar 2020 10:18

Helo Alexander,

thank you for you reply. The ServerController.ComInitialization was set to ciMultiThreaded. I also changed it to ciNormal without success.

The user zsleo has the same problem without a solution from your side. The post https://www.cgdevtools.com/cgforum/viewtopic.php?f=62&t=3630
mpecere
 
Posts: 9
Joined: 27 Nov 2018 18:49

by Alexander Bulei » 31 Mar 2020 17:51

Hi mpecere,

Since the exception is come from external source, probably ADO components, your IDE can catch that exception, which is in try..except block.

Did you checked if it throw the exception without debug?

Note: If you use TDataSetProvider, you can try the ResolveToDataSet property.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQDropDown

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.