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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sorting records in a with view metadata view

Status
Not open for further replies.

giovi2002

Programmer
Aug 22, 2005
47
NL
I'm using the with view metadata clause in views. As a result I can not use order by in the select statement so my recordset will automatically be sorted by the Primary Key.
When showing the recordset in the access client I want it to be sorted to two different fields than the primary. How can I easily achieve this while keeping the recordset updatable? (I also added the view to a stored procedure and queried it as a table using order by, it worked but the recordset wasn't updatable).
 
Note:
I also used order by in the view using the top clause, the problem is the recordset won't be updatable. So I need an updatable solution
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top