I would like to change the text color, background color, or bold type of a textbox control in a tablebox based on the type of record it is(a field in the table). I have tried using the following in the OnAfterGetRecord() trigger: CurrForm.“Record Type”.UPDATEFORECOLOR(ForeColor) but it gives me the following error when I run the form: Dynamic Property ‘ColorSet’ cannot be changed in this context. Has anyone found a way to do something similar? Thanks, Keith Reichert NCSD Computer Application Solutions, Inc.
Hi, You must write this code in the OnFormat trigger of this text box. You can find example of such code in the Chart of Account form (all totaling and header lines are bold). Valentin Gvozdev BMI Inc.