Solved

dbgrids columns...

Posted on 2000-04-03
6
220 Views
Last Modified: 2010-05-02
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
Comment
Question by:majala
6 Comments
 
LVL 28

Expert Comment

by:AzraSound
Comment Utility
what rows do you want to show?  
0
 

Author Comment

by:majala
Comment Utility
I wanna show all the other rows than the first one. It is a counter.
0
 

Author Comment

by:majala
Comment Utility
If you didn't understand I ment that I wanna show all the other rows but not the first one:)
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 1

Accepted Solution

by:
riduce earned 50 total points
Comment Utility
DBGrid1.Columns(0).Visible = False
0
 
LVL 14

Expert Comment

by:wsh2
Comment Utility
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
 

Author Comment

by:majala
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now