access 2003 using sql view report not reporting all data

D

Don

hello, I have a access 2003 application that uses the sql server for
the database the application has an extension of adp. I have wrote
many reports from views as the recordset and all works fine but I have
one report that uses one view that is made with parts of three tables
and when I open the view under query the data that shows is correct.
When I run the report I am missing some of the data. the data is based
on a product code as the main connector between table but the product
code is not indexed in main database table. but I must say that when I
run the view as a query I get the right results. Why does the report
not report all the data? Can anyone help. Thanks
 
S

Sylvain Lafontaine

Maybe a filter: check that the properties Filter, Filter On and Server
Filter are OK.
 
D

Don

I have not set any filters but I will review the view again but when I
run the query on the view all the records show but when I run the
report several are missing.
 
D

Don

I found the issue the sql was using top 100 and I think that it was
taking the top 100 records where there were 236 records. redid the sql
call and removed the top 100 and all worked fine.
 
S

Sylvain Lafontaine

The « Select TOP 100 PERCENT ... » statement is required if you want to add
an ORDER BY clause to a VIEW. However, for report, you don't really need
this because the report can make its own ordering.

Quite possibly, you have dropped the word PERCENT by accident.
 
A

aaron.kempf

now there is a bug with adp hiding columns

ms wont' act on it though; they're too busy too fix bugs
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top