Results 1 to 3 of 3

Thread: True DB Grid

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    11

    Question

    Apologies if this has been answered a bunch of times:

    Im trying to use a grid on a form that will allow users to change data around, use combo boxes, etc.. the true db grid will do that. my problem is, the way that the program is written so far.. when using flexgrids, the data is pasted to the grid on a cell by cell basis:

    for i = 0 to .rowcount - 1
    .row = i
    .col = 0
    .text = <some_variable_from_a_recordset>
    'and so on for more .col's
    next i

    flexgrid isnt this cut and dry. now i have to choose a data retrieval method and so on. is there any way with true db to create a recordset in code and employ a similar method as above? im not even sure what datasource im supposed to use. (unbound, unbound ext, app, storage)

    any help is appreciated - thanks
    Rob Seliga
    VB Developer

  2. #2
    Addicted Member curlywink's Avatar
    Join Date
    Mar 2000
    Location
    Manila, Philippines
    Posts
    141
    Hi there,

    Try Application as your data mode.

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    11

    Wink True Db Grid

    Finally - I tried the Application mode, and got a couple more errors, but the errors all led me to believe that it had to be the Bound set.

    I set it to Bound, and said
    grid.datasource = <recordsetname>

    thanks so much!
    Rob Seliga
    VB Developer

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