Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

different records on the screen from one database

Status
Not open for further replies.

domkop

Programmer
Aug 19, 2003
22
NL
in a database there are x- records that contain the names of people.
now i want to show fifty names on the screen.
i want to get them from a databaselist
i want to choose the first number and the list should always show 50 names on the screen like a screen that is showing wich names are in the building
i use dbtext to show the names, but how do i fill them with the right name


 
It would be helpful to know which database you're using and what your table structure is. There are ways to do this using SQL. Also, I would recommend using a TDBGrid to display the list - you can make some of the fields not visible but still have the data available if you need to search on it.

-D
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top