
Crystal Reports Canned Code
Does anybody have some canned code to display and print a report done
in
Crystal Reports(CR) using a parameter.
I have added the CR control to my project after developing the report
in CR 7.0. The parameter report, which used a key field in an Access
database works fine in the CR environment. Howerever, when I run it
from within VB I have the following problems.
1. The only report I can get to view is the last report I had up in
CR. If I selected another record with a different key, I get an
error.
2. Even when it runs using the same Key value as last used in CR, I
see no changes after I edit the record.
I have made sure I have the reference to the Crystal Reports Object
Library 7.0. I'm hoping it's just a matter of syntax and that someone
has some canned code for displaying and printing a CR parameter report
in VB.
Thanks,
Tom