Re: qUESTION
>i use SQL Server and connect TADOTable. When I set CursorType with
>ctOpenForwardOnly, and its data is showed at DBGrid. Then I open, why can I
>still scroll forward and back?
>
>Please, explain to me.
You probably have the tadoTable set to use a clientside cursor.
In that case the data gets read from the server into an inmemory dataset form
which you can move the cursor forward and backward.
CursorType is relevant only with serverside cursor
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.
Relevant Pages
- Re: VB connection to SQL server
... > the client machine begins to lose its relevance and accuracy as soon as it ... > aware that the data is probably out of date, a client sided cursor might ... > design minimises the possibility that records will have changed in the ... >> The Database server is in the office, and people use the Vb program from ... (microsoft.public.vb.database) - Re: Huge memory comsumption of ADODB Connection object
... unless the cursor is returning data to the client* I don't see ... I suppose this could cause some extra memory ... Is there a similar behavior in Sybase? ... Server was originally based on that rdbms, so there very well may be. ... (microsoft.public.data.ado) - Re: VB connection to SQL server
... "Chris Barber" wrote in message ... > recordsets (client side cursor) to allow you to persist the recordsets to ... aware that the data is probably out of date, a client sided cursor might fit ... That is because the SELECT statement is executed on the server and the data ... (microsoft.public.vb.database) - Re: Accessing A Large MS SQL Table Over ADO Components
... Client-side cursor fetches all rows, ... Because I had some performance loss when I set it up to Server ... Server-side cursor does not fetch all rows to client, so if server is on the ... > If we want to display the data on a readonly grid wich component is the ... (borland.public.delphi.database.ado) - Re: ADO server side cursor sloooow
... Using the ODBC driver my tests show that both client and server side ... forward only server side cursor is faster than a client side cursor as ... requiring over 1000 trips over the network. ... (comp.databases.btrieve) |
|