Results 1 to 3 of 3

Thread: member or data member not found/Crystal Reports

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2008
    Posts
    1

    Unhappy member or data member not found/Crystal Reports

    hi

    have been programming in VB6 for 8+ years but haven't touched it for a few years so I'm a little rusty. Here's the situation:

    I got a new (work) laptop, installed VB6, then Crystal Reports 7 then did the upgrade to 8.0. When I try to compile my program now, I get the following error: Compile Error: Member or data member not found. and it's referring to the area in red, below:

    strPrintSelect = "{Invoice.Invoice_Number} = '" & gstrHoldOrdInvClaimNumber & "'"
    crptSingleInvoicePrint.Database.Tables (1).SetLogOnInfo "SandGSQL_ODBC", "SandGSQL", "sa", "****"
    crptSingleInvoicePrint.RecordSelectionFormula = strPrintSelect
    crptSingleInvoicePrint.PaperOrientation = crLandscape
    crptSingleInvoicePrint.PrinterSetup frmDocFlowDisplay.hWnd


    this program has been being used for years so I know the code is okay. I don't have any "missing" references in the project, and when I go to the Object Browser, the PrinterSetup method of Report (under CRAXDRT) is there -- but it does NOT come up as an option after I type the "." after "crptSingleInvoicePrint" in the code area.

    Please help! I'm pulling my hair out! Thanks in advance for your help!

    (ps. I did look here but nothing I found helped )
    Last edited by Greyhound Gourmet; Apr 15th, 2008 at 11:53 AM.

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: member or data member not found/Crystal Reports

    You say you upgraded to version 8 from version 7. The first thing I would do is check to see if that function/method has been deemed obsolete or changed to something else in the newer version. Check the CR site...

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: member or data member not found/Crystal Reports

    Moved to Reporting

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width