Results 1 to 3 of 3

Thread: Adodc/Datagrid Coding Question

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2001
    Posts
    57

    Adodc/Datagrid Coding Question

    I have a module that creates a database on the fly when a user selects an option on a form. The problem I am having is that I can't connect to it. I have been through tons of source code and have spent about 5 hours trying to get adodc to connect to it, but all I get are errors...

    Can someone please show me how to connect adodc and datagrid to the database in code???

    The database has one table called SNTABLE. I created using CreateTableDef.

    There is then an index called INDEX1 with 4 fields.

    When I do a loop to retrieve the flields and show them in the debugger they all come back fine.

    How do I get adodc to connect to the database using Jet and then have the datagrid load the fields? Remember this has to be done on the fly in code because the database will change. Also I need to use adodc and the datagrid.

    I have tried every combination of everything I could think of and have had nothing but errors. Any help will be appreciated!

    If You.Can.Read.This Then
    You.Are.Too.Close
    End If


    DISCLAIMER: Signature under development and may, or may not reflect the true nature of the programmer.

  2. #2
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    what errors?
    -= a peet post =-

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 2001
    Posts
    57
    Every error that anyone has ever mentioned on this site related to ADO. I have been through them all with this thing.

    If You.Can.Read.This Then
    You.Are.Too.Close
    End If


    DISCLAIMER: Signature under development and may, or may not reflect the true nature of the programmer.

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