Wrox Programmer Forums
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics 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 May 20th, 2005, 11:59 AM
Authorized User
 
Join Date: Sep 2003
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to zaeem Send a message via Yahoo to zaeem
Default crystal report and vb6

I am using VB 6 and Crystal Report 9. When I click the button to generate the report it gives me the error. I am in big trouble, please anybody help me.
Code is given below.



Private Sub Command2_Click()
Dim rs As New Recordset
Dim a As Long
Dim h As String

crystal.DiscardSavedData = True (COMPILER ERROR: METHOD OR DATA MEMBER NOT FOUND)
crystal.ReportFileName = App.Path & "\newd.rpt"



crystal.SelectionFormula = "{Personal.Heads} = '" & Combo1.Text & "' "

crystal.Action = 1


End Sub


Zaeem Sherazi
__________________
Zaeem Sherazi





Similar Threads
Thread Thread Starter Forum Replies Last Post
crystal report export using vb6 mycha_2003 Pro VB Databases 1 March 29th, 2016 03:04 AM
VB6 w/ Crystal Report cbowles VB How-To 1 December 23rd, 2006 02:10 AM
VB6 with crystal report 10 pritz VB How-To 31 June 27th, 2006 06:23 AM
Crystal Report 4.6 in vb6 alaa_h78 Beginning VB 6 2 November 22nd, 2005 09:31 PM
Crystal report 9 on VB6 mahanama VB How-To 2 February 1st, 2005 09:11 AM





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