Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

missing last record in report

Posted on 2004-04-29
8
Medium Priority
?
229 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
6 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 101

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
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
LVL 42

Accepted Solution

by:
frodoman earned 200 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses

564 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