Hi guys, can anyone explain how to reduce the size of a dbgrid field from code? I'll explain. I have a field of type varchar (100) and I want to encrypt the text that ends up in it, making it transparent to the user.
For example I have the field called surname of type varchar (100) and from the dbgrid I go to set the value "Hello World" that on the database is written as "GLOd9o4vUJtI755MDoUNh1qRVyl851mu7uJAeuITCs0 =" until the encrypted string is less than 100 characters is OK, but we assume that it exceeds, how can I put a block to the dbgrid for the number of characters that can be entered in the clear?