Solved

dbgrids columns...

Posted on 2000-04-03
6
222 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
ID: 2681371
what rows do you want to show?  
0
 

Author Comment

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

Author Comment

by:majala
ID: 2681472
If you didn't understand I ment that I wanna show all the other rows but not the first one:)
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 1

Accepted Solution

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

Expert Comment

by:wsh2
ID: 2682630
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
ID: 2683262
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to open Waze.com/livemap from address saved in DB? 26 189
Vb.net 2008 2 59
Windows 10 start screen issues 9 55
MsgBox 4 59
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

770 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