Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB Databases
|
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases 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 April 7th, 2007, 08:46 AM
Registered User
 
Join Date: Apr 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to intellogo Send a message via Yahoo to intellogo
Default Crystal Report 11 subreport code....

Hi crystalians,

With reference to the Crystal Report 11 product, I have created 2 sub-reports from 2 unrelated tables: A and B. Then inserted them onto one blank master report in the Report Header section.

I need to pass SQL statements from within Visual Basic 6.0 to the sub-report so it will correctly query the records. I know how to do this with normal reports...but not with subreports. I usually use the ".SQLQueryString" property to process SQL statements in VB code.

Now, with reference to Visual Basic 6.0, can anyone enlighten me on how to pass the sql statements to query the records from VB6 onto a subreport, correctly.

Awaiting urgent reply....

Regards,
intellogo





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Crystal Report 11 aliirfan84 Crystal Reports 1 March 24th, 2007 04:42 AM
Crystal Report 11 problem in client machine shashankN Crystal Reports 0 February 6th, 2007 08:05 AM
Crystal Reports SubReport rln Crystal Reports 3 March 17th, 2006 11:55 AM
VB 6 and Crystal report 11 deployed on win 98 shantanu86 VB Components 0 March 16th, 2006 10:11 AM
How add Crystal Report Control (Ver 11) in VB 6 priyakumar Crystal Reports 0 February 2nd, 2006 04:58 AM





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