Article View: comp.lang.basic.visual.database
Article #34Re: Crystal Report Control for vb6 app
From: Jamal A
Date: Fri, 17 Nov 2000 05:45
Date: Fri, 17 Nov 2000 05:45
41 lines
2770 bytes
2770 bytes
Wrong news group, buddy! >comp.lang.basic.visual.database,comp.lang.basic.visual.misc,comp.lang.clipp er.visual-objects,cz.comp.lang.basic.visual< Hoping for an answer! <g> but I wish I had answer to help. "Corey Harbaugh" <charbaugh1000@hotmail.com> wrote in message news:Rb2R5.65$7.99512@typhoon.kc.rr.com... > I have a simple DAO app. I want to use the crystal report control for a > custom report that I made for this app. It's the client report. When the > client creates a new record I want them to be able to print just the current > record. > > I have a menu to print the report here is the code for the click event. > > Dim ID as Byte > ID = txtWorkOrderID.Text 'this is the primary id for the table, its > also displayed as locked textbox on the client form. > PrtCurrent.DataSource = "ctsworkorder.mdb" 'this is the database, > PrtCurrentRecord is the name of the Crystal Report Control > PrtCurrent.SelectionFormula = "woMain.WorkOrderID" & ID " 'woMain is > the table, WorkOrderID is the primary id for the table > PrtCurrent.PrintReport ' print to screen > > > I get nothing from this code, the control doesent even open! What am i > doing wrong? I have the report name in the Crystal Report Contol propertys. > > > Help ME! > > > Thanks, > > Corey > >
Technical Details
Message-ID:
<8v2gme$94u$1@sshuraaa-i-1.production.compuserve.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!europa.netcrusader.net!152.163.239.129!portc01.blue.aol.com!news.compuserve.com!news-master.compuserve.com!not-for-mailReferences:
<Rb2R5.65$7.99512@typhoon.kc.rr.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11629a,e921512243c01fd0 X-Google-Attributes: gid11629a,public X-Google-Thread: 110e3b,e921512243c01fd0 X-Google-Attributes: gid110e3b,public X-Google-Thread: 108062,e921512243c01fd0 X-Google-Attributes: gid108062,public X-Google-Thread: 1143a7,e921512243c01fd0 X-Google-Attributes: gid1143a7,public X-Google-ArrivalTime: 2000-11-16 21:45:52 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!europa.netcrusader.net!152.163.239.129!portc01.blue.aol.com!news.compuserve.com!news-master.compuserve.com!not-for-mail From: "Jamal A" <jamale@nospam.cs.com> Newsgroups: comp.lang.basic.visual.database,comp.lang.basic.visual.misc,comp.lang.clipper.visual-objects,cz.comp.lang.basic.visual Subject: Re: Crystal Report Control for vb6 app Date: Fri, 17 Nov 2000 00:45:29 -0500 Organization: CompuServe Interactive Services Lines: 43 Message-ID: <8v2gme$94u$1@sshuraaa-i-1.production.compuserve.com> References: <Rb2R5.65$7.99512@typhoon.kc.rr.com> NNTP-Posting-Host: aca00a45.ipt.aol.com X-Trace: sshuraaa-i-1.production.compuserve.com 974439950 9374 172.160.10.69 (17 Nov 2000 05:45:50 GMT) X-Complaints-To: newsmaster@compuserve.com NNTP-Posting-Date: 17 Nov 2000 05:45:50 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200