Results 1 to 2 of 2

Thread: Crystal Report 9 + VB 6

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2007
    Posts
    3

    Crystal Report 9 + VB 6

    Dear all,

    I am currently writing a program which need to generate a list of members' billing in pdf format. I have already done the report template and its preview is ok in Crystal report. However, problem come after I add he report into my VB program.

    The following is the flow of my program:

    1. generate a list of member who require the billing report
    2. for each member in the list, call a store procedure (which generate the
    data for printing the billing report for "one" member), export the report in
    pdf format.
    3. update a flag for this member to indicate the billing is generated.
    4. repeat step 2 & 3 until all billing is generated

    The problem is that all billing is the same as the first one (seem that CR report only get data for the first access).

    Can any one tell me how to fix it?

    Thank you

  2. #2
    Lively Member
    Join Date
    May 2004
    Location
    right here
    Posts
    87

    Re: Crystal Report 9 + VB 6

    It would seem that you need to refresh (crviewer.refresh) in your code in between clients. Before step 2.
    If Not Now Then When

    If Not Here Then Where

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width