Friends, I wonder if you can help

I have a dozen or so reports which are based on the following routine

SELECT client,stockcode,IIF(trantype='I',ttlamount,ttlamount*-1) as amount,
YEAR(invdate) as year,invdate,sperson, stktype;
FROM (lcSource) where trantype $ "CI" INTO table temp

When I then base a pivot report on the date Year factor, the columns are
per Calendar year.

This is ok, except I now have a number of clients whose financial year is 1
April to 31 March or other and are asking me to change this.

Does anyone have a quick work around for me.?

-- 
Kind regards,
Sytze de Boer
Kiss Software


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAG1nNy8Z=HVdVeyH9N8BveYKOvH4GwzrNCyQ42wsW3mZOMPT=w...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to