Solved

missing last record in report

Posted on 2004-04-29
8
212 Views
Last Modified: 2008-03-06
I use a msaccess97 temp table for my report.
It is a very simple report.
The crystal report 8 is connected to this temp table and display the information direct from this table.
The information in the temp table is all correct but when I use the vb6 aplicattion to call out this report the last record is missing.
0
Comment
Question by:anpeco
  • 3
  • 2
8 Comments
 
LVL 42

Expert Comment

by:frodoman
ID: 10953536
Are you sure that the last record isn't just being displayed on another page?  There could be a slight difference in the spacing / fonts so a report that previews in one page in the developer may spill over to a 2nd page when using the activex viewer.

0
 
LVL 100

Expert Comment

by:mlmcc
ID: 10953999
listening
0
 

Author Comment

by:anpeco
ID: 10957000
this isn't the problem. i've tried diferent number of records. For example temp tables with 1 record will show empty reports.

If i re-order records from table to report last record table is missing in report, not last record in re-ordered report.
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 42

Accepted Solution

by:
frodoman earned 50 total points
ID: 10958951
Is it possible that the last record hasn't been commited yet or is still in a "locked" state when the report is executed?
0
 

Author Comment

by:anpeco
ID: 10961667
That's ok.  EUREKA !!!!!
Adding "CommitTrans" instruction before report call works fine.

Now all records are displayed.

THANK'S
BEST REGARDS.
0
 
LVL 42

Expert Comment

by:frodoman
ID: 10961758
That's what I meant by the last record hasn't been committed.  So it's working now, right?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question