Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'Sort Ascending' loses data

Status
Not open for further replies.

jonohara

Technical User
Mar 26, 2000
53
GB
Hi

I've a table with around 4000 records in a rather large application. The users report missing data, so i've been checking the tables in the backend mdb file on a server.

When i open the table it shows all the records, when I sort the records by surname (not linked to other tables) it shows all the records, however, when i sort by a field which is linked to one other table (many to one , records have a reference in the linked table as well) the dataset shrinks to a few hundred.

Thus doesn't happen when I import the table into a new database.

Any ideas?

Thanks
 
Most likely this is caused by nulls. Change the join to left/right rather than inner.

 
Also, make sure you have grouping turned off in your query. This has killed me once or twice.

ChaZ

Ascii dumb question, get a dumb Ansi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top