RandyBosma
Mon Apr 10 16:16:50 CDT 2006
Tim Hobson wrote:
>Correct, Dave. The report follows a SQL statement and does have a FOR
>clause. There are plenty of fields in the table, but none that meet the
>criteria that it only reports data for the current year. I had just run
>the new year program for the end of the financial year, and the next
>financial year as yet has no receipts or expenses. But last years
>records are all still there.
Tim,
You could
COUNT TO nnn FOR <whatever>
IF nnn > 0
REPORT FORM thobson TO PRINT FOR <whatever>
ELSE
MESSAGEBOX("No data for thobson")
ENDIF
--
Message posted via DBMonster.com
http://www.dbmonster.com/Uwe/Forums.aspx/foxpro-general/200604/1