🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual.database
Article #35

Re: Crystal Report Control for vb6 app

#35
From: corey_harbaugh
Date: Fri, 17 Nov 2000 00:00
65 lines
2860 bytes
Thanks for taking your time to post your message Jamal!

I think this should be the right board to post this message.  VB &
Crystal Reports have everything to do with databases.

Buddy!

CH

In article <8v2gme$94u$1@sshuraaa-i-1.production.compuserve.com>,
  "Jamal A" <jamale@nospam.cs.com> wrote:
> Wrong news group, buddy!
>
>comp.lang.basic.visual.database,comp.lang.basic.visual.misc,comp.lang.c
lipp
> 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
> >
> >
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.
Technical Details
Message-ID: <8v457f$56r$1@nnrp1.deja.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <Rb2R5.65$7.99512@typhoon.kc.rr.com> <8v2gme$94u$1@sshuraaa-i-1.production.compuserve.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: 1143a7,e921512243c01fd0
X-Google-Attributes: gid1143a7,public
X-Google-Thread: 108062,e921512243c01fd0
X-Google-Attributes: gid108062,public
From: corey_harbaugh@my-deja.com
Subject: Re: Crystal Report Control for vb6 app
Date: 2000/11/17
Message-ID: <8v457f$56r$1@nnrp1.deja.com>
X-Deja-AN: 694870262
References: <Rb2R5.65$7.99512@typhoon.kc.rr.com> <8v2gme$94u$1@sshuraaa-i-1.production.compuserve.com>
X-Http-Proxy: 1.1 x55.deja.com:80 (Squid/1.1.22) for client 207.247.141.254
Organization: Deja.com - Before you buy.
X-Article-Creation-Date: Fri Nov 17 20:42:25 2000 GMT
X-MyDeja-Info: XMYDJUIDcorey_harbaugh
Newsgroups: comp.lang.basic.visual.database,comp.lang.basic.visual.misc,comp.lang.clipper.visual-objects,cz.comp.lang.basic.visual
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)