How to add results to ADOQuery and DBGrid for browsing

From: Richard Caruana (caruanar_at_acay.com.au)
Date: 03/25/05


Date: Sat, 26 Mar 2005 07:52:18 +1100

Hello I would like to be able to see some records before and after my
search result
(lets say 50 records before and 50 records after a single search result)
for browsing
in DBGrid.

Can someone please tell me the best way (the fastest) to go about doing
this ?

Delphi 5, ADOQuery, MS ACCESS 2002, DBGrid

any help is appreciated

Richard



Relevant Pages

  • Re: Basics
    ... controls from Turbo Delphi and I managed to get things basically working ... via executing a text query and the dbgrid printing what I needed. ... I'm in position where I need to retrieve a long string and UU-hex-convert ... it into a image to the user - DBGrids help me not. ...
    (borland.public.delphi.database.ado)
  • Re: Transfer resultset from thread to DBGrid
    ... typecast of the ADOQuery object as the lparam of the message. ... setup the dbgrid datasource to use a datasource linked to the newly returned ... While the thread is working my mainform would still be responsive. ...
    (borland.public.delphi.database.ado)
  • Re: Transfer resultset from thread to DBGrid
    ... ADOQuery object as the lparam of the message. ... it can save the object that is in the param and setup the dbgrid ... While the thread is working my mainform would still be responsive. ...
    (borland.public.delphi.database.ado)
  • Best practice DBExpress 4 / Allg. Fragen (Rad Studio 2007)
    ... Fuer ein Projekt, welches MySQL als DB verwendet, wuerde ich gerne dbx als Engine verwenden. ... DataSource -> DBGrid ... Was ist also die "best practice" um via Delphi und dessen DB Komponenten Zugriff auf eine MySQL DB zu erhalten? ...
    (de.comp.lang.delphi.datenbanken)
  • Re: Modern user interface elements will be added to MFC!
    ... Everyone knows that DbGrid and Splitter have been standard VCL ... Delphi need a cosmetic overhaul. ...
    (borland.public.delphi.non-technical)