Greyhound Gourmet
Apr 15th, 2008, 11:14 AM
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 :()
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 :()