drag0n_45
Mar 11th, 2008, 03:09 PM
Hello,
I am writing a program that will use Crystal Reports to print a report. I have absolutely no experience with Crystal. I've opened a report (part of a program someone else in my company wrote) in Crystal and have come to realize most of how the software itself works. I would be creating a report in Crystal and printing it using VB. I have no idea what functions to use in VB or anything. I looked at the source code for that program and the only statements of any kind of relevence were the following:
report1.reportfilename="AirsampNL.rpt"
report1.Destination=1
Report1.Action=1
I couldnt find a reference to any constants or anything, so I'm very unclear as to what the difference possibilities are. I found a tut online that mentioned using the Crystal Report designer, but I think that because I'm using VB6 with the designer and Vista it won't load. Even trying some of the VB samples provided by Crystal didn't work in the IDE.
Basically, my point is that I need a good tut or any info about the above code or anything about how to print a report from VB that anyone can find. Thanks
I am writing a program that will use Crystal Reports to print a report. I have absolutely no experience with Crystal. I've opened a report (part of a program someone else in my company wrote) in Crystal and have come to realize most of how the software itself works. I would be creating a report in Crystal and printing it using VB. I have no idea what functions to use in VB or anything. I looked at the source code for that program and the only statements of any kind of relevence were the following:
report1.reportfilename="AirsampNL.rpt"
report1.Destination=1
Report1.Action=1
I couldnt find a reference to any constants or anything, so I'm very unclear as to what the difference possibilities are. I found a tut online that mentioned using the Crystal Report designer, but I think that because I'm using VB6 with the designer and Vista it won't load. Even trying some of the VB samples provided by Crystal didn't work in the IDE.
Basically, my point is that I need a good tut or any info about the above code or anything about how to print a report from VB that anyone can find. Thanks