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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show DBGrid without some records

Status
Not open for further replies.

Fatality

Programmer
Sep 19, 2002
7
0
0
NL
Hi, im kinda new with delphi and have a problem:

I have a table (acces) with 3 columns:
- nr
- begin date
- end date

I have 3 DBGgrid's:
- 1st: i show all the records of the table
- 2nd: i WANT to show all records with empty "values" in the column 'end date'
- 3th: i WANT to show all the records exept for the records witch are showned in the 2nd DBGrid

Can anyone help/explain to me how i can do that??

Thanks in advance
(sorry for my english)

 
You have to use a Query and link the dbgrid via a datasource to the query.

Check out also the Faq area in this forum

Regards

Steven van Els
SAvanEls@cq-link.sr
 
Hey thanks for the advise, it works with a ADOQuery now :D

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top