Why is the ParamType combobox disabled for some parameters?

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
aoven
Posts: 9
Joined: Wed 01 Aug 2007 00:26

Why is the ParamType combobox disabled for some parameters?

Post by aoven » Wed 01 Aug 2007 00:53

We sometimes need our queries to return some less common types of values as parameters, for example GUIDs and Blobs. When setting up the parameters at design-time, the editor disables ParamType combobox when we set the data type to GUID or Blob. We must then set the ParamType to ptResult from code in order to receive the value.

My question is: what is the reason for this design-time limitation? Can it be lifted?

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Wed 01 Aug 2007 14:06

Parameter types cannot be set for those data types, which cannot be edited in design time. We will correct this behaviour in one of the next builds of SDAC. Thank you for information.

Post Reply