Hello,
I am trying to build a pos and inventory system in vb 6.0 with MS-Access database. I do not have much experties in vb 6. Ok here is the question now,
I want to build a report like income statement. I have two tables with name tblsales and tblexpense, from tblsales I wish to take two fields named Salesdate and profit, from tblexpense I wish to take Date, Type and amount fields. Putting them together I like to make a report which will show the total profit and total expense of a certain time period from which I can calculate the net profit. Sample will be like:
`"Sales Date" "Profit"
Date Sum of profit of that day
Date Sum of profit of that day
Date Sum of profit of that day
Date Sum of profit of that day
___________________________________________________
total no. of day total sum of profit
"Expense date" "Type of Expenses" "Amount"
Date Type of Expense Sum of expense of that day
Date Type of Expense Sum of expense of that day
Date Type of Expense Sum of expense of that day
Date Type of Expense Sum of expense of that day
______________________________________________________________________
total no. of day total sum of Expense
Total sum of Profit Amount
Total sum of Expense Amount
---------------------------------
Net Profit Amount
well this is the report will be printed. It could be in datareport or in crystal report. Better If make it in datareport.
I have asked many question in this forum and got very good answers quickly. Hope to get an quick and better answer for this problem very soon.
Silversurf