Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

missing last record in report

Posted on 2004-04-29
8
Medium Priority
?
227 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 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
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.

 
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

885 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