upload a jpg file to an access database...???

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default upload a jpg file to an access database...???

    I think I heard that you can't have a jpg in an access database, however you
    could point to where the jpg was from within the database. What I need to know
    is how can I create an upload form that will put the path of where the picture
    is on the server into the access database. Or possibly there is a much easier
    way to do this and someone could help. Thanks.

    The result of what I'm trying to do is have a user upload a jpg and it display
    on a page in the site. Thanks again for any feedback.

    AWZ Guest

  2. Similar Questions and Discussions

    1. Upload File to Access Database
      I have a Dreamweaver Page which is attached to a MS Access Database in Cold Fusion. In the page is a browse button which opens the select file...
    2. upload a jpg to an access database?
      Is it possible to upload a jpg file into a access database or is there a better method for diplaying user uploaded pictures? I want registered users...
    3. Upload Image to access database. ASP
      Hi. I have an Insert Record behavior. This is a form with some fields to insert text in a accessdatabase but i need insert an image too. How can i...
    4. upload a file to a database in my sql
      I have a B.D made in access and of which also I have respective tables of the B.D. in xls. However what I want is: To come back to make the...
    5. Upload images to Access database
      How can I easy upload picture to an MS access database.
  3. #2

    Default Re: upload a jpg file to an access database...???

    On 2005-05-19 18:31:04 -0500, "AWZ" <webforumsuser@macromedia.com> said:
    > I think I heard that you can't have a jpg in an access database,
    > however you could point to where the jpg was from within the database.
    > What I need to know is how can I create an upload form that will put
    > the path of where the picture is on the server into the access
    > database. Or possibly there is a much easier way to do this and someone
    > could help. Thanks.
    >
    > The result of what I'm trying to do is have a user upload a jpg and it
    > display on a page in the site. Thanks again for any feedback.
    Yep, uploading the file using CFFILE and just storing the path to the
    image in the database is a tried-and-true method of accomplishing this.
    Basically you just have a form that allows for a file upload, and
    after CF has uploaded the file (using CFFILE) you can get the name of
    the file as it was saved on the server by using FILE.SERVERFILE after
    the upload. Then you grab that value and insert it into your database.

    You can see an example of the upload process here:
    [url]http://tinyurl.com/3w82w[/url]

    Matt
    --
    Matt Woodward
    [email]mpwoodward@gmail.com[/email]
    Team Macromedia - ColdFusion

    mpwoodward *TMM* 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