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

How to show an empty row?

Status
Not open for further replies.

Fursten

Programmer
Dec 27, 2000
403
PT
Hi,

I´m using SQL Server7.0 and Visual Basic 6.0. I´m trying to display in a grid a select I made in VB. However, I would like that the first row of the grid was empty, and to show the recorset only after this first row.

For instance, insted of heaving this:

Data1
Data2
...

I would like to have:

(nothing)
Data1
Data2
...

Is there any way to do this maybe using SQL?

Thank you

 
you can use the FixedRow property and set it to 1 that way your first row will be blank or you can put headings into it. You can select this in the properties window or in the code before you load the grid.

MSFlexGrid1.FixedRows = 1

same goes for Cols
 
I´m using TrueDB Grid from Apex :( and it seems that this ActiveX doesnt have that propertie :
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top