PDA

Click to See Complete Forum and Search --> : DB Grid - making rows invisible?????????


raj
May 1st, 2000, 01:16 AM
Hi Everyone,
I was just wondering...how to make rows invisible in DBGrid.
I'm using True DBGrid...Now the thing is i'm using this on a form. So what i want is whenever i load the form, all other rows( records which were added before) should go invisible and then i can add another bunch of records...and
add to database....and again when i load the form, that DB Grid should be clear!!!
If anyone know's how to do this; please let me know...
Thanx a lot...
Cheers :D
Raj :)

[Edited by raj on 05-01-2000 at 02:18 PM]

Mc Brain
Jun 4th, 2000, 09:51 PM
Hi. I don't understand why you want the rows to be invisible. If you want to use a DBGrid you can use it first clear, and add the records to your table whenever you like. I mean, you don't have to load all the records from the table and hide them, just use the DBGrid to "get" the data and add them to your table.

Jennifer Z
Jun 4th, 2003, 09:01 AM
you can set the datamode to 'storage' and bound XArry. The following is a sample code

dim xdbMyGrid as XArrayDB

Set xdbMyGrid = New XArrayDB
Set tdbMyGrid.Array = xdbMyGrid

xdbMyGrid.clear
tdbMyGrid.ReBind

Mc Brain
Jun 4th, 2003, 09:14 AM
Hey!! Today is the thread's birthday: It's 3 years old.

Please... don't dig up old threads. I didn't even remember about this, and most probably no-one really care about it by now.

I hope you don't get mad with this post... I was trying to teach you how to behave in the forums.

The Hobo
Jul 9th, 2003, 02:33 AM
Originally posted by Mc Brain
I hope you don't get mad with this post... I was trying to teach you how to behave in the forums.

LOL :D :rolleyes: