|
-
Jan 6th, 2006, 11:44 AM
#1
Thread Starter
New Member
Last Record Is Missing in CR
Hello everyone.
I am using vb6 and cr8.
When I run the report from the vb enviroment (using crystal report control) I am missing the last record.
If I run the report from the cr designer everything is fine.
The datafile (table) that I am retrieving data from is in access.
Has anybody an idea why is that???
Thank you,
Alex
-
Jan 6th, 2006, 11:47 AM
#2
Re: Last Record Is Missing in CR
Welcome to the forums. 
How are you running it from VB? What code are you using?
-
Jan 6th, 2006, 12:37 PM
#3
Thread Starter
New Member
Re: Last Record Is Missing in CR
Dear Hack thank you for you reply.
The same happens if I run .exe or from the design enviroment.
I load a temp table with some results which CR is linked to
and then the code is like this
CrystalReport1.DataFiles(0) = db1
CrystalReport1.ReportFileName = PrnPath & "123.rpt"
CrystalReport1.DiscardSavedData = True
CrystalReport1.Action = 1
Thank you
-
Jan 6th, 2006, 04:40 PM
#4
Thread Starter
New Member
Re: Last Record Is Missing in CR
Another thing that I just saw is that from vb runtime if I "Refresh report data" (destination Window, Preview Window -->Refresh) then the missing record appears.
Is this strange or what?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|