• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 234
  • Last Modified:

dbgrids columns...

I have a database, data controller and dbgrid in my form.

I don't wanna show all the rows from my database in my dbgrid. How can I do this in runtime?

Could you give me an example!

Thanks in advance!
0
majala
Asked:
majala
1 Solution
 
AzraSoundCommented:
what rows do you want to show?  
0
 
majalaAuthor Commented:
I wanna show all the other rows than the first one. It is a counter.
0
 
majalaAuthor Commented:
If you didn't understand I ment that I wanna show all the other rows but not the first one:)
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
riduceCommented:
DBGrid1.Columns(0).Visible = False
0
 
wsh2Commented:
Uh Riduce.. he wants to hide ROWS.. <smile> and a <wink>.

If you have VB6 use the Datagrid, and set the Row 1 RowHeight = 0 -or- Once again in VB6, build your own Recordset and load it into the DataGrid.

0
 
majalaAuthor Commented:
Thanks for answer!

So I mixed up columns and rows but thanks anyway wsh2. Now I know how to hide rows too...
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now