Results 1 to 3 of 3

Thread: access tables

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 1999
    Location
    Bishop's Falls, NF, Canada
    Posts
    12

    Post

    What i want to do is to put an acess table right on the form in visual basic. Any suggestions


  2. #2
    Member
    Join Date
    Apr 1999
    Location
    Kirkland, WA, USA
    Posts
    40

    Post

    technically you can not put a "table" on a form because a table object is not a visible "control", a table is a database object and even when you are in "table View" in a database system like MS-Access or dBase you are not really seeing "the table", you are seeing a grid that is filled with the contents of a table.

    I think what you want to do is use a *grid control*, such as MSFlex, DBGrid (or a real one likeVSFlexPro6 www.videosoft.com or TrueBGrid www.apezsc.com)

    You drop the grid on the form, set it's properties (and/or bind it to a datasource via a datacontrol for DAO or directly to a recordset object in ADO ... or directly to an ary if you use VSFlexPro6) and the contents of a table or filter/view/recordset are displayed with optional editing permissions.



    ------------------
    http://www.smithvoice.com/vbfun.htm

  3. #3
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Post

    I don't usually disagree with SmithVoice but you should be able to accomplish what you want via COM/Automation. Much the same way you can have Excel draw a chart on your VB app...

    Just don't ask me to explain how... :P

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