Results 1 to 5 of 5

Thread: DB Grid - making rows invisible?????????

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    15

    Question DB Grid - How To Make Row's Invisible??????

    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
    Raj

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

  2. #2
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    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.
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  3. #3
    Junior Member
    Join Date
    Jun 2003
    Location
    UK, Sheffield
    Posts
    29
    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

  4. #4
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    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.
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  5. #5
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    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
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width