Board index » delphi » Formatting Logical Fields

Formatting Logical Fields

Hi
For my Delphi Project, I am using Paradox for the DataBase. I have 2 or
3 Logical Fields in one of the Tables. I wanted the Logical Field Value
to appear as 'Yes' Or 'No', instead of 'True' Or 'False'. I Changed the
Field Format in the Table and I could view the Logical values as 'Yes'
or 'No' in the TableView. But when I want to view the information
through a form, the values again remain as 'True' or  'False'. Also in a
report created out of Report Smith, I could see that all the 'Yes'
values appeared as 'True' whereas all the 'No' values appeared as
'False'. How can I change the Logical values from 'True/False' to
'Yes/No'? Any help will be appreciated. Thankyou Very Much.

 

Re:Formatting Logical Fields


Quote
>'. I Changed the
>Field Format in the Table and I could view the Logical values as 'Yes'
>or 'No' in the TableView. But when I want to view the information
>through a form, the values again remain as 'True' or  'False'.

You need to set the DisplayValues property of the TbooleanFields components of
you Ttable

--
Brian Bushay (TeamB)
Bbus...@DataGuidance.com

Other Threads