C++Builder ADOQuery SQLServer
I'm using a stored procedure with this select
SELECT Name,
COALESCE(
(
SELECT TOP 1 0
FROM TbUserParam
WHERE TbUserParam.ID_User = @ID_User
AND TbUserParam.ID_Param = CfgListParIzm.ID_ListParIzm
), 1) Visi
FROM CfgListParIzm
WHERE CfgListParIzm.ID_ListGroupParIzm = @ID_ListGroupParIzm
in my query with SQL string :
FlowClientHardQ :ID_User, :ID_ListGroupParIzm
then DataSource and DBGrid with CheckBox fields. Source
So I need a bool (or bit) field there from my ADO Query. How / Where can I convert it ?
Thank you.