Search the GP Tables
Search by TABLE NAME
Search by FIELD NAME
These are our SOP scripts. All of our scripts for Dynamics GP can be found here

Table Edits Forum Articles
Table Edits 0 Table Edits 0 Table Edits 0
Sign Up Now!Log In
paulchacko 10/10/2018 2:21:49 PM

Color coding in SSRS


I need to highlight all payments in Green and invoices in Black in an SSRS report so I edited the formula as follows:

=SWITCH(Fields!Document_Type.Value = 'Payment', "Green", Fields!Document_Type.Value = 'Invoice', "Black")

This is not working. I get the error: The Color expression for the textrun ‘Document_Type.Paragraphs[0].TextRuns[0]’ contains an error: [BC30201] Expression expected.

Does anyone know what it means and how do i fix it?



Version: GP 2013
Section: SSRS

Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables