Welcome
Welcome to <strong>Sybase Philippines</strong>.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join our community today</a>!

Help in Income Statement and Balance Sheet Design in DW

Updated with the latest technology, this powerful, industry-leading rapid application development tool offers tight integration between design, modeling, development and management. PowerBuilder enables developers to build anything from two-tier and Web applications to applications for a distributed architecture.

Help in Income Statement and Balance Sheet Design in DW

Postby slayerette on Thu Jun 05, 2008 7:54 am

Sir/Madam:

Can anyone please help me? I need to design an INCOME STATEMENT and BALANCE SHEET report using datawindow of PB. How do I go about it?

For example:

Income
income account 1 amount 1 amount 1
income account 2 amount 2
income account 3 amount 3

Less: Operating Expenses
expense account 1 amount 1
expense account 2 amount 2
expense account 3 amount 3

amount

NET Income amount

Thanks in advance.
slayerette
 
Posts: 1
Joined: Thu Jun 05, 2008 7:48 am

Postby ximpatico on Thu Jun 26, 2008 11:02 am

try to make a group datawindow, select your income table and expense table. Use your account number as group head. Insert a computed field in your detail band with a formula subtracting expense field (EA) from income field (IA). Then sum up IA and EA.

[account 1]

[ income amount 1(IA)]----------[expense amount 1(EA)]--------[cmptd_fld1 (IA - EA)]


[SUM(IA for all)]-----------------[SUM(EA for all)]------------------[SUM(cmptd_fld1 for all)]

[ cmptd_fld2(sum_ia - sum_ea)]


Your cmptd_fld1 and cmptd_fld2 should be balance if entries are correct.
ximpatico
 
Posts: 1
Joined: Thu Jun 26, 2008 10:25 am


Return to PowerBuilder

Who is online

Users browsing this forum: No registered users and 0 guests

cron