My problem is not how to set the style for the column.....my problem is that if i put some code in the click method of the textbox contained in the column, that code is not executed when i click the column....Is it real ?
you can set .RecordSource as a SELECT ... FROM including your calculated field
your column .controlSource is this calculated Field
you can style your column Cell with CSS (cursor:pointer; etc.)
I nned to have on a grid column a button where to call another form.....but this button should have different caption for different values in the recordsource table....Normally in these situations i use DynamicCurrentControl, but it seems to be not supported...is it real ? Alternatively i put my code into textbox click and i put as controlsource of the column a calculated field that has different values as i set in the buttons....but i can call the click method from the grid....Is tere a solution to this problem ?
Thanks