On 14/09/2017 10:58, Alan Bourke wrote:
I can pause execution just before the report and there's 40 odd records
which is correct. If I open the report layout in VFP and save it just
before it runs then it's fine, however the next time I do it if I don't
open\save the problem occurs.

Select _fees.*, int(Val(feevalc) * 7) as calcweek, _feecusts.accname,
_feecusts.custype, _feecusts.ntpfid,
     _feecusts.admitd, _feecusts.active, _feecusts.lastact,
     _feecusts.lastinact, _feecusts.emailinv, _feecusts.contact,
     _feecusts.dormant
from _fees left join _feecusts on _feecusts.account = _fees.account
order by _fees.account, _fees.feeprod
into cursor _report nofilter


You might notice that since there are multiple _fees rows per _feecust
row the above will produce repetition of the _feecusts fields on each
row in the result -  that is by design.

From what you say it sounds like a problem with the report layout if the cursor has the right number of records in it.  Is it feasible to create a new one from scratch or try a new one and just paste in a few fields to test.

Peter


This communication is intended for the person or organisation to whom it is addressed. The contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
www.whisperingsmith.com

Whispering Smith Ltd Head Office:61 Great Ducie Street, Manchester M3 1RR. Tel:0161 831 3700 Fax:0161 831 3715
London Office:17-19 Foley Street, London W1W 6DW Tel:0207 299 7960




_______________________________________________
Post Messages to: [email protected]
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/[email protected]
** 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