Recent

Author Topic: Retrieving records from a Firebird database  (Read 4158 times)

elio

  • Newbie
  • Posts: 3
Retrieving records from a Firebird database
« on: September 24, 2004, 08:15:02 am »
Hi.

I'm creating a database application with the InterBase components  using a Firebird Database.

Right now i can get any field of a single record from the table, but i can't figure out how to get several records at once.

Am i limited to use a DBGrid?

Elio.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2565
Retrieving records from a Firebird database
« Reply #1 on: September 24, 2004, 10:36:33 am »
If you want to view more records at once, you can use the DBGrid.
For normal DB operations you only have the current record. To navigate you can use the Previous, Next, First, Last, Locate methods.
You cannot access multiple records from one dataset the same time
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Anonymous

  • Guest
Retrieving records from a Firebird database
« Reply #2 on: September 24, 2004, 07:32:37 pm »
That's very disapointing...
Is that why DBListBox doen't work?

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2565
Retrieving records from a Firebird database
« Reply #3 on: September 26, 2004, 06:36:46 pm »
A DBListBox accesses (=modifying) one record at a time
It can, like the DBGrig, show multiple values at one time
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018