Wrox Programmer Forums
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 1st, 2006, 05:50 PM
Authorized User
Join Date: Aug 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default VB6 and Crystal Reports

Hello everyone!

This has been nagging me for some time. I wish someone out there can help me get this solved.

I use Crystal Reports 9.0 with my VB6 programs. In some applications I developed, the need for selective printing comes out. For example, the printing of statements of account. My current approach is to group the customer accounts by account number. Crystal Report then creates the statements of account for all customers. Selecting the customer statement to print is done using the printing dialogue box.

What I would like to do is to create a listview control containing the customer account number and name. From this listview control, I will select the specific customer account. The selected customer account is then used by Crystal Reports in the record selection formula to display the customer's statement of account and set it up for printing. It works, but only for the first customer selected from the listview control. The next customer account selected will trigger an out of memory error.

What's the cause and how do I get around this problem to get the intended result from the program?

Thanks a lot, I really will appreciate very much your tips, if need be, please include the code to solve it.


Similar Threads
Thread Thread Starter Forum Replies Last Post
vb6 - crystal reports runs only once svharishtech Pro VB 6 3 August 3rd, 2013 06:01 AM
Crystal Reports 8.0 , My Sql 5.0 with Vb6.0 thiyagu6682 Pro VB Databases 0 August 21st, 2007 08:22 AM
Designing Crystal Reports from VB6 ranasrule Beginning VB 6 0 November 9th, 2006 12:47 AM
Vb6 with crystal reports 10 Eleakim Cribe Pro VB 6 0 June 22nd, 2006 09:20 AM
Crystal Reports and VB6 - URGENT! sterankin VB How-To 1 September 23rd, 2005 07:27 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.