I have to print the invoice in my datagrid using datareport but i dont have the total amount of all the selected items.i have uploaded a picture. I hope u could help me..thanx

Edited by pritaeas: Changed title. Please do NOT use all uppercase.

Attachments problem.jpg 362.7 KB
5 Years
Discussion Span
Last Post by EXTRA_RICE

I believe this is exactly what you ask for. If the link is broken you are looking for "adding a function control to a data report".


sorry for late reply bcoz im on a 4 day vacation after ramadan.so i got an error message after adding some header and footer.i uploaded a picture so you can easily know what it is.

Edited by EXTRA_RICE: type error

Attachments problem.jpg 205.42 KB

Welcome back! I had figured out the ramadan connection. It has been quiet around here.

Take a look at this. There is something about grouping in the data environment before running the command
If that post doesn't make sense, DaniWeb has several more that are similar. Just search the fault you are getting.


The method I used is to calculate the grand total in the front end before updating the database and then I will save the database with the total amount and Using labels in the data report i ll print the total.

It will be simple.

Hope this helps you.


i try all the things in grouping in data environment etc.. still i got this error "report sections do not match data source".man im crying huhuhuhu


This looks pretty specific. Maybe
Scroll down to Building the Shape Statement and see if there is anything new


Mr. Klahr, can u modify my datareport for me? hahaha my god im stress..hahahaha if its ok to you??

Edited by EXTRA_RICE


I wish I could! Maybe a walk around the block. You know how it is when stress starts to take over. I've solved more problems sitting on the loo or standing in the shower than I can count.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.