updating table after sort

B

Ben

Hi all,

I have a table. I ran a query to sort the records in the table. After
that, I set a recordset to the query result. But I need to update the table
in the new sort order.

How can I set the order in the recordset back to the table in the sorted
format?

Thanks,

Ben


--
 
J

Jeff Boyce

Ben

You may be confusing "where" and "how" the data is stored with how the data
is displayed. Access tables are "buckets o' data" and do NOT have any
readily-discernable order. That's what you use queries and sorting for.

If you query returns the sorted dataset, why not use that?

Regards

Jeff Boyce
Microsoft Office/Access MVP
 
B

Ben

Jeff,

I guess the question is how can I make the sort stick in the Access
table, so that when I open it the next time, it is already sorted by the
particular field I choose.

Thanks,

Ben
 
P

pietlinden

Jeff,

   I guess the question is how can I make the sort stick in the Access
table, so that when I open it the next time, it is already sorted by the
particular field I choose.  

Thanks,

Ben

--








- Show quoted text -

you don't. Use a query instead.
 
J

Jeff Boyce

What Piet L. said -- use a query. Don't try to force the Access table to
perform unnatural acts.

Regards

Jeff Boyce
Microsoft Office/Access MVP
 

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