Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21388

Need help. Report - Detail Section trouble

$
0
0
I got VB code from my brothers which is a Point of Sales programme / Cashier Program for minimarket using VB 6.0. It use Ms. Access as database. I'm a beginner in Visual Basic so I need help to solve the problem. I tried to contact my brother, but he doesn�t know how to solve this problem.

The Programme my brother gave me has problems when I tried to print the report. Report in VB has 5 section : Report header, Page header, Group header, Detail and Group Footer. On detail section, it has the item name, number of items purchased, and the sub total price.

It has 2 problems. First, when I print only 1 item, the detail section is missing, in other words, the detail section report doesn�t get printed, only the other section does. But if I print 2 or more items, it�s just fine, it print all of the items in the detail section.

Second problems, sometimes, when I print several transactions, one of the transactions doesn�t print the last item out of several items. If I print 30 transactions with 25 items on each transaction, one or two of the transactions will only print 24 items with the last 1 item doesn�t get printed. But the grand total still print the correct total amount of money which include the last item that doesn�t get shown on the printing (The grand total is on the group footer section, it is on a different section)

I tried on several kind of printers and it still have the same result, so I think it�s not about the printer

Anyone have any ideas what�s the problem? Or know how to solve these?

Thanks in advance,


Best regards

Viewing all articles
Browse latest Browse all 21388

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>