Click here to Skip to main content
15,891,787 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Virgin Pin
alex.barylski21-Apr-02 11:01
alex.barylski21-Apr-02 11:01 
GeneralRe: SQL Virgin Pin
alex.barylski21-Apr-02 11:05
alex.barylski21-Apr-02 11:05 
GeneralRe: SQL Virgin Pin
Mazdak21-Apr-02 19:27
Mazdak21-Apr-02 19:27 
GeneralRe: SQL Virgin Pin
Tom Archer30-Apr-02 23:41
Tom Archer30-Apr-02 23:41 
GeneralRe: SQL Virgin Pin
Mazdak1-May-02 0:29
Mazdak1-May-02 0:29 
GeneralRe: SQL Virgin Pin
Nick Parker2-May-02 16:43
protectorNick Parker2-May-02 16:43 
GeneralRe: SQL Virgin Pin
alex.barylski9-May-02 12:10
alex.barylski9-May-02 12:10 
GeneralADO and the DataGrid Pin
soup18-Apr-02 23:07
soup18-Apr-02 23:07 
Hi,

First off, I'm using VC6 with the latest service pack and MDAC 2.6/2.7.

I imported the ADO DLL.

I have successfully got an app to talk to any database (via a connection string and OLEDB/ODBC) and I can place resulting recordset results into the DataGrid via use of the SetRefDataSource method.

However, the DataGrid only accepts the ADO rs if it is disconnected.

What I want to do (and I don't know if it's poss, but it sounds like it should be) is to query the database, keep the rs connected, set it into the DataGrid and further results be pulled in as (and when) the user scrolls down the results.

I want this as some of our queries take some time and could return millions of rows. It would be nicer to respond quickly pulling back enough data to show in the grid and pull more results as the user scrolls.

Is this possible? If so, how might I go about doing it?

Thanks,

Simon
GeneralWinNT(4) Service with Database connectivity Pin
Dels18-Apr-02 14:09
Dels18-Apr-02 14:09 
GeneralDataSet and MoveNext problem Pin
17-Apr-02 10:35
suss17-Apr-02 10:35 
GeneralRe: DataSet and MoveNext problem Pin
Mike Nordell17-Apr-02 10:49
Mike Nordell17-Apr-02 10:49 
GeneralRe: DataSet and MoveNext problem Pin
17-Apr-02 11:26
suss17-Apr-02 11:26 
GeneralRe: DataSet and MoveNext problem Pin
Mike Nordell17-Apr-02 12:16
Mike Nordell17-Apr-02 12:16 
GeneralRe: DataSet and MoveNext problem Pin
18-Apr-02 4:15
suss18-Apr-02 4:15 
QuestionSQL statement to take a string value after FROM?? Pin
Aoife17-Apr-02 0:20
Aoife17-Apr-02 0:20 
AnswerRe: SQL statement to take a string value after FROM?? Pin
Nick Parker17-Apr-02 6:48
protectorNick Parker17-Apr-02 6:48 
GeneralDatabase design Pin
alex.barylski16-Apr-02 11:03
alex.barylski16-Apr-02 11:03 
GeneralRe: Database design Pin
Andrew Peace16-Apr-02 11:43
Andrew Peace16-Apr-02 11:43 
GeneralRe: Database design Pin
alex.barylski16-Apr-02 21:04
alex.barylski16-Apr-02 21:04 
GeneralConnecting to Sybase... surely i'm not the only one... Pin
Thesisus16-Apr-02 1:41
Thesisus16-Apr-02 1:41 
GeneralRe: Connecting to Sybase... surely i'm not the only one... Pin
Nick Parker17-Apr-02 6:52
protectorNick Parker17-Apr-02 6:52 
Generalgeneric stored procs in SQL Server 2000 Pin
Senkwe Chanda15-Apr-02 3:28
Senkwe Chanda15-Apr-02 3:28 
GeneralRe: generic stored procs in SQL Server 2000 Pin
Bruce Duncan15-Apr-02 8:52
Bruce Duncan15-Apr-02 8:52 
GeneralRe: generic stored procs in SQL Server 2000 Pin
Senkwe Chanda16-Apr-02 1:48
Senkwe Chanda16-Apr-02 1:48 
GeneralUDL files Pin
CLermen15-Apr-02 2:44
CLermen15-Apr-02 2:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.