Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning 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 November 29th, 2006, 03:49 AM
Registered User
 
Join Date: Nov 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Method or Data Member not Found Related to Crystal

Hello everyone
I m new to vb and crystal report.I m working on project in vb6.Plz help

I m getting error :Method or data Member not found

In my project ,there is a form which prints the client label.After selecting the record ,whenever i clicked the print tab ,it gives Error as Method or data Member not found

The code is

 With CR1
                .DiscardSavedData = True
                .ReportFileName = App.path & "\" & "ClientLabelReport.rpt"
                .SQLQuery = sqlstr
                .WindowTitle = "Client Print Label"
                .WindowState = crptMaximized
                .Destination = crptToWindow
                .PrintReport
                .DiscardSavedData = True
                End With

In this case as I run the project ,It gives error and comes on this line .DiscardSavedData = True

Cr1 in this case shows as picture box instead of crystal report object










Similar Threads
Thread Thread Starter Forum Replies Last Post
complile error : method or data member not found! Tasha Access VBA 6 May 1st, 2007 03:49 PM
Method or data member not found Subuana Beginning VB 6 1 March 6th, 2006 03:32 PM
Method or Data member not found Anup Gavate VB How-To 2 March 25th, 2005 04:50 PM
LoadFrom Invoke Member... Method not found DolphinBay VB.NET 2002/2003 Basics 1 April 29th, 2004 10:01 AM
LoadFrom Invoke Member... Method not found DolphinBay ASP.NET 1.0 and 1.1 Basics 0 April 29th, 2004 09:29 AM





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