Results 1 to 2 of 2

Thread: MSFLEXgrid query / pretty simple ques

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Location
    South Africa
    Posts
    113

    Question

    Hi all

    I am having trouble with MSFLEXGRID 5.
    Th grid has 1 column and 7 rows. (It should be able to have more than 7 when required)
    When my fillGrid sub is executed, for some reason the grid gets filled in AFTER leaving 7 blank rows. The data is there but I have to scroll down to see it

    anyone know how to fix this and make it fill the data from the 1st row.
    i tyried grdE.row = 2 ...
    but it didnt seem to work
    thanks in advance


    grdE.Clear
    grdE.Row = 2
    datEm.Recordset.MoveFirst
    Do While datEm.Recordset.EOF = False
    grdE.AddItem datEm.Recordset("name")
    datEm.Recordset.MoveNext
    Loop

    PS -- How do I type actual VB code on this page?
    You are living a pacifist dream, and if you dreaming it means you sleeping and you should damn well wake up!

  2. #2
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833
    grid.rows not grid.row

    grid.rows set the numbers of rows

    grid.row set the current grid row.

    Kurt Simons
    [I know I'm a hack but my clients don't!]

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