I would like the rows of a table to color automatically, without selecting the single rowtaking the color from an sql tables. This is the function I use to pick the color, in the select fill ColorValue(LookUp('[dbo].[USR_TIPI]';DESCRIZIONE=DataTable6.Selected.TIPOVISITA And NEGOZIO=DataTable3.Selected.CODICENEGOZIO ;HEXCOLOR)) Thank's in advance