mibuso.com

Microsoft Business Solutions online community
It is currently Thu Jun 20, 2013 9:23 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: How to skip records in Reports.
PostPosted: Fri Aug 21, 2009 5:28 pm 
Offline

Joined: Wed May 21, 2008 8:44 am
Posts: 28
Location: NEW DELHI
Country: India (in)
Hi all,
I am building a report in which i have to print the debit balances of customers and skip all those customers which have credit balances.With this also i am giving a page break after each customer change.So please help.


Regards
Vj_iway


Top
 Profile  
 
 Post subject: Re: How to skip records in Reports.
PostPosted: Fri Sep 25, 2009 10:03 am 
Offline

Joined: Sun Jul 19, 2009 12:15 pm
Posts: 4
hi,

you can use fetch method in this init method of the report.

ex:

while select * from custtable where custable.currencycode == 'EUR'
{
element.send(custtable); // your body section must be linked with the custtable table.
}

regards


Top
 Profile E-mail  
 
 Post subject: Re: How to skip records in Reports.
PostPosted: Fri Sep 25, 2009 5:06 pm 
Offline

Joined: Thu Sep 04, 2008 11:59 am
Posts: 68
Location: hyderabad
Country: India (in)
Hi,

U can use a programmable section in fetch method which can be executed if the amount is greater than zero, that mean debit balance

eg:if(amount > 0)
element.execute(1);

for page break u can use
element.newpage();
for that u just compare the present customer with the old customer.
if the customer are not same u can use the above code.

eg. if(customer != custtable.accountnum)
{
customer = custtable.accountnum;
element.newpage();
}

_________________
Kranthi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: