AdoServer:SetOrder()

<< Click to Display Table of Contents >>

Navigation:  Dataservers > AdoServer Class > Methods >

AdoServer:SetOrder()

Previous pageReturn to chapter overviewNext page

Purpose

Get/Set the current index for the server

 

Prototype

METHOD SetOrder ( cNewOrder )  

 

 

Argument(s)

cNewOrder        (Optional) name for the new index to set

 

The server will send a NOTIFYINTENTTOMOVE before the operation and a NOTIFYFILECHANGE after the operation.

 

Return

STRING        Current Index name, or (None) if provider doesn't support indexes

 

See Also

AdoServer, AdoRecordSet:Index, AdoRecordSet:Index

 

 

NoteAdoServer:SetOrder() and AdoServer:Seek() only work if you open the tables with AdCmdTableDirect and is only supported by some providers (such as the MsJet Provider). With the MsJet provider it also only works with a serverside cursor.