Need more, need help now?
- - - - - - - - - - - - - - - - - - pay-as-you-go support - no contract - tenth of an hour billing - expert help - fast service - no call queues
Need integration?
- - - - - - - - - - - - - - - - - - with your shipping system - website - invoicing system - crm - cms - manufacturing - order import - back to back orders..
Need a report?
- - - - - - - - - - - - - - - - - - Excel reporting that pulls data from Sage - custom layouts - layouts that change adapt to your brands and/or for drop shipping.
Want web hosting?
- - - - - - - - - - - - - - - - - - Your own domain name - email - a shop - wordpress - woo commerce - ticket systems - help desks - forums - portals

Conditional formatting error

Sage 50 general help forum - Free help and support for all general issues
Post Reply
klocky
User
User
Posts: 7
Joined: 11 Mar 2011, 14:49
Sage Version: v2009 15 UK/Europe/Africa

Conditional formatting error

Post by klocky » 03 Jun 2011, 14:56

Sage Line 50 v16, Windows 7

I want to surpress printing of department name on an invoice if the invocie contains more than 1 department name.

I get an error with the below, can anyone point out where I've gone wrong?

if Count(INVOICE_ITEM.DEPT_NAME)>2 then SuppressPrinting=TRUE else SuppressPrinting=FALSE

User avatar
brucedenney
Site Admin
Site Admin
Posts: 4664
Joined: 28 Feb 2006, 09:56
Sage Version: v30 UK/Europe/Africa

Re: Conditional formatting error

Post by brucedenney » 16 Jun 2011, 15:38

It depends where you are in the report.

If this were in the invoice footer it might work.

The point is until you get to the footer, the report hasn't gone through all the items so doesn't know
For just about anything Sage :- Discount subscriptions, pay-as-you-go support, application integration, reports, layouts, linked excel spreadsheets, analysis or any other help making life with sage easier/less time consuming Contact me.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests