How can I dynamically create a MS Access database?

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

  1. #1

    Default How can I dynamically create a MS Access database?

    On my web server, I want my ASP code to check and see if the file called
    "SECURITY.MDB" exists and if it doesn't then I want it to dynamically create
    it with a table called "USERLIST" that contains the fields "USERNAME" and
    "PASSWORD". How would I do this?


    michaaal Guest

  2. Similar Questions and Discussions

    1. Create link dynamically
      Hi Gurus. I want to look in PDF files to find regular expressions and dynamically create link on each match. I think Javascript can not do...
    2. Dynamically create datasource
      Hi http://groups.yahoo.com/group/coldfusion-howto/message/3086
    3. Help needed with ASP form browse for file, create link to file and insert in access database
      I have a form where a user enters their name, date etc. i also want them to be able to click on a browse button and select a file which will then...
    4. How can I create a table in my Access database dynamically in ASP?
      How can I create a table in my Access database dynamically using ASP?
    5. Could not access/create a database on a NFS mount / Please help to fix that
      Hello, I'm using INFORMIX-SE Personal Edition Version 7.25.TC3 on Windows 2000 (NTFS). 1.If I run DB-Access, choose "connect to" server :...
  3. #2

    Default Re: How can I dynamically create a MS Access database?

    michaaal wrote:
    > On my web server, I want my ASP code to check and see if the file
    > called "SECURITY.MDB" exists and if it doesn't then I want it to
    > dynamically create it with a table called "USERLIST" that contains
    > the fields "USERNAME" and "PASSWORD". How would I do this?
    To see if a database file exists:
    [url]http://www.aspfaq.com/show.asp?id=2351[/url]

    To create a database:
    [url]http://www.aspfaq.com/show.asp?id=2029[/url]

    HTH,
    Bob Barrows

    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"


    Bob Barrows Guest

  4. #3

    Default Re: How can I dynamically create a MS Access database?

    > To create a database:
    > [url]http://www.aspfaq.com/show.asp?id=2029[/url]
    Bob I appreciate the above link, but when i run it I get this error message
    in my browser...

    a.. Error Type:
    Provider (0x80004002)
    No such interface supported
    /include.inc, line 39

    It seems that my computer doesn't like the "cat.create..." command. Any
    thoughts?

    T






    michaaal Guest

  5. #4

    Default Re: How can I dynamically create a MS Access database?

    michaaal wrote:
    >> To create a database:
    >> [url]http://www.aspfaq.com/show.asp?id=2029[/url]
    >
    > Bob I appreciate the above link, but when i run it I get this error
    > message in my browser...
    >
    > a.. Error Type:
    > Provider (0x80004002)
    > No such interface supported
    > /include.inc, line 39
    >
    > It seems that my computer doesn't like the "cat.create..." command.
    > Any thoughts?
    >
    > T
    I can't tell without seeing the code you attempted to use. The code works
    for me. Is your MDAC installation up-to-date?

    Bob Barrows

    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"


    Bob Barrows 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