need asp code to modify design of multiple MS Access MDBs

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

  1. #1

    Default need asp code to modify design of multiple MS Access MDBs

    I have an ASP application with MS Access 2002 backend.
    This application I have 20 copies of running on the same server.
    Each application is a different web site.

    When I come up with a change - usually adding a field to one of the tables
    in that app - right now I have to manually go into design mode for the table
    for each of the 20 applications.

    I would like some kind of automated way of doing this, preferably with ASP -
    remote.

    Ideas? Something you saw out there already built to do something like this?

    Thanks!

    --
    Scotter


    Scotter Guest

  2. Similar Questions and Discussions

    1. Modify default DW8 code for inserting Flash?
      Whe I insert a Flash SWF using Insert -> Media -> Flash, DW8 creates code that specifies a minimum Flash version of 7 (7,0,19,0 actually). I want...
    2. best module to parse / modify C-code
      Hi, What modules are you using to parse C code? Some of the required use cases: 1.) extract a list of functions and their prototypes
    3. Advanced OOP: Best OO design for rendering multiple page types to multiple devices
      Hoping to get some ideas from more experienced hands regarding the best way to use object-oriented design to assist my development of a content...
    4. How to add or modify template columns via-code
      Hi, I know how to add template columns via the designer or the HTML source Now, I want to add a template column (<ItemTemplate> and...
    5. To modify table through code SQL
      I need to create some fields in a table in BackEnd and I am using the instruction Alter Table in the following way: Dim db As Database, rs As...
  3. #2

    Default RE: need asp code to modify design of multiple MS Access MDBs

    Hi Scotter,

    To modify a Access database, we can use a COM Library ADOX. It is included
    in ADO and be able to define and modify database's structure like Access
    and SQL server. Here is a sample to use ADOX in an ASP application

    [url]http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q272268[/url]

    Hope this help,

    Luke
    Microsoft Online Support

    Get Secure! [url]www.microsoft.com/security[/url]
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    [MSFT] Guest

  4. #3

    Default Re: need asp code to modify design of multiple MS Access MDBs

    I see how this code works on user and group objects.
    I'm wondering if you know of an example that works on tables and fields?
    Thanks!

    "[MSFT]" <lukezhan@online.microsoft.com> wrote in message
    news:7dU4LuLXEHA.2616@cpmsftngxa10.phx.gbl...
    > Hi Scotter,
    >
    > To modify a Access database, we can use a COM Library ADOX. It is included
    > in ADO and be able to define and modify database's structure like Access
    > and SQL server. Here is a sample to use ADOX in an ASP application
    >
    > [url]http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q272268[/url]
    >
    > Hope this help,
    >
    > Luke
    > Microsoft Online Support
    >
    > Get Secure! [url]www.microsoft.com/security[/url]
    > (This posting is provided "AS IS", with no warranties, and confers no
    > rights.)
    >

    Scotter Guest

  5. #4

    Default Re: need asp code to modify design of multiple MS Access MDBs

    Here is a sample on adding a column to an Access database with ADOX:

    Dim adoConn
    Dim adoxCat As Catalog

    Set adoConn = Server.CreateObject("ADODB.Connection")


    adoConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data
    Source=c:\db1.mdb;User Id=Admin;"

    Set adoxCat = Server.CreateObject("ADOX.Catalog")

    Set adoxCat.ActiveConnection = adoConn


    adoxCat.Tables("table1").Columns.Append "c2cv"

    For more sample on ADOX, you can refer to following link:

    [url]http://doc.ddart.net/mssql/sql2000/html/mdacxml/htm/wpmigratingschema.htm[/url]

    Luke

    [MSFT] Guest

  6. #5

    Default Re: need asp code to modify design of multiple MS Access MDBs

    ADOX API Reference
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/[/url]
    htm/adoddlo1.asp

    - - - - -

    Working with ADOX by Ramesh Balaji and Scott Mitchell - 1/31/2001
    [url]http://www.4guysfromrolla.com/webtech/013101-1.shtml[/url]

    - - - - -

    Ease Data Access With ADOX
    Use the new ADO object library to build and inspect your database
    structure
    by Jeffrey P. McManus
    [url]http://archive.devx.com/upload/free/features/vbpj/1999/06jun99/jm0699/jm[/url]
    0699.asp

    - - - - -

    Add tables with ADOX
    [url]http://nuts4asp.com/tutorials/adox[/url]

    - - - - -

    ADOX FAQ
    [url]http://www.able-consulting.com/ADOX_Faq.htm[/url]

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


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

  7. #6

    Default Re: need asp code to modify design of multiple MS Access MDBs

    Hello Scotter,

    I was reviewing the thread. Do you have any more concerns on it? If the problem is not resolved yet, please feel free to post in the group and we
    will follow up.

    Thanks very much.

    Best regards,
    Yanhong Huang
    Microsoft Community Support

    Get Secure! ¨C [url]www.microsoft.com/security[/url]
    This posting is provided "AS IS" with no warranties, and confers no rights.

    Yan-Hong Huang[MSFT] 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