I have a DBGrid where I am using following query to get the data:
Select * from table1 where <condition>
One of the fields in Password coming from database, which I want to display as ***. But keep it editable for the Grid itself.
Can you please suggest what can be done for this. Sample code will be much appreciated
You can do this by dropping a TEdit on your form and set the password char property to be '*'. Then you need to add code into the OnDrawColumnCell event of the TDBGrid like this :-
This should get you going, but as has been mentioned it's not ideal to be editing passwords in this way.