Posted on 2001-08-31
i got an mdb access file, and i'm linking to it using a Tdatasource wich is connected to a TadoQuerry
and the dbgrid is connected to the Tdatasource
so i get my *wanted info* based on a querry and this is displayed in the dbgrid.
The columns are automaticly put in some order and the widths are also done automaticly, how can i do this manually io defining them in design time so they are for example all 50 pixels wide ?
i tried serveral things :
adding some columns using columns editor but then my info wasn't displayed anymore
activating the querry in design time and modifying the width but then i couldn't change all of the columns (those strings defined in the access file 255 chars)
and also when i ran the program it was all reset.
so my question is how can i predefine these column widths and the order they appear in etc