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 19th, 2004, 09:15 AM
Authorized User
 
Join Date: Apr 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Communicating with MS Access Reports

Hi,
I want to be able to create a form in VB6 to setup an SQL statement which users can use to search for records by certain fields if they need to. I know how to do this, but what I don't know how to do is open an existing MS Access report and populate the row source of that report with the sql statement so I can print or preview the report. I know how to do this from an MS Access form but not from a VB6 form. Any help would be greatly appreciated.

 
Old April 19th, 2004, 11:14 AM
Authorized User
 
Join Date: Jun 2003
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Look at this post and it may answer your questions...

http://p2p.wrox.com/topic.asp?TOPIC_...Access+report+

Kenny Alligood
 
Old April 22nd, 2004, 11:33 AM
Authorized User
 
Join Date: Apr 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the suggestion Kenny. I have read everything and it looks like it just might work pretty well. I am going to give it a try and let you know how it went.

Thanks and Best Regards,
Donrafeal






Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Ms Access report to MS Word doc kite Access 1 October 22nd, 2007 01:45 AM
Database migration MS Access 2003 to MS SQL 2000 ayazhoda SQL Server 2000 3 April 23rd, 2007 11:38 AM
MS ACCESS 2003 FRONTEND AND MS SQL SERVER 2005 DB mohankumar0709 SQL Server 2005 3 March 23rd, 2007 12:48 AM
View MS Access Reports in Browser minic Classic ASP Databases 0 December 14th, 2004 02:38 AM
Communicating with MS Access Reports donrafeal VB Databases Basics 1 April 22nd, 2004 11:37 AM





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