view database question

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default view database question

    I have an access 2000 database which I use for my asp application.
    Is there a way to get a list of all the tables and table colunms via asp?
    Thanks


    Gonzosez Guest

  2. Similar Questions and Discussions

    1. InnoDB restore database: VIEW error
      Hi, I tried to backup a InnoDB schema which contains a simple VIEW. When I tried to restore the .sql to a new schema, I get the error: Warning:...
    2. view data from database
      need a little bit of help please... i got a php search / results page i got my sql and phpmyadmin and apache up and running etc... my problem is,...
    3. HTTP Link from database record view?
      Hi, Prompted by the superb quality of help offered here I request some advice on the following problem: I want to have the http link in my...
    4. Forms - unhiding database view and toolbars
      I wanted to be able to hide the database view when a database is opened. I managed to achieve this using Tools- lost the tools menu.
    5. Another user has modified the contents of this table or view; the database row you are modifying no longer exists in the database;
      Hi, I am testing a trigger that and I am getting this error message saying "Another user has modified the contents of this table or view; the...
  3. #2

    Default Re: view database question

    This is one way:


    Set oADO = CreateObject("ADODB.Connection")
    oADO.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data
    Source=D:\path\to\database.mdb;"

    Set oADOX = Server.CreateObject("ADOX.Catalog")
    oADOX.ActiveConnection = oADO

    For Each oTable in oADOX.Tables
    If oTable.Type = "TABLE" Then
    Response.Write "<strong>" & oTable.Name & "</strong><BR>"
    For Each oCol in oADOX.Tables(oTable.Name).Columns
    Response.Write oCol.Name & "<br>"
    Next
    Response.Write "<hr>"
    End If
    Next

    Ray at work




    "Gonzosez" <tbyam@hinklemfgNS.com> wrote in message
    news:Otxjc5H$DHA.2512@TK2MSFTNGP11.phx.gbl...
    > I have an access 2000 database which I use for my asp application.
    > Is there a way to get a list of all the tables and table colunms via asp?
    > Thanks
    >
    >

    Ray at Guest

  4. #3

    Default Re: view database question

    [url]http://www.aspfaq.com/search.asp?q=schema:[/url]

    --
    Aaron Bertrand
    SQL Server MVP
    [url]http://www.aspfaq.com/[/url]




    "Gonzosez" <tbyam@hinklemfgNS.com> wrote in message
    news:Otxjc5H$DHA.2512@TK2MSFTNGP11.phx.gbl...
    > I have an access 2000 database which I use for my asp application.
    > Is there a way to get a list of all the tables and table colunms via asp?
    > Thanks
    >
    >

    Aaron Bertrand [MVP] Guest

  5. #4

    Default Re: view database question

    aspAccessEditor
    [url]http://www.aspit.net/applications.asp?action=aspaccesseditor[/url]

    Best regards,
    J. Paul Schmidt, Freelance ASP Web Developer
    [url]http://www.Bullschmidt.com[/url]
    ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Bullschmidt Guest

  6. #5

    Default Re: view database question

    Bullschmidt wrote on 02 mrt 2004 in microsoft.public.inetserver.asp.db:
    > aspAccessEditor
    > [url]http://www.aspit.net/applications.asp?action=aspaccesseditor[/url]
    >
    not there, Paul.

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
    Evertjan. Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139