473,739 Members | 7,912 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Upload file to Access database via form

Hi all,

I am new to access and I face the following "issue":
I would like to create a database, to which users can upload files
(=pdf, doc, xls...). The files shall be stored locally on a server.
The database needs to be accessed via Access form (no html, asp,...) as

we don't have an internal web server running.
I would like to create a form that allows the user to browse his local
harddrive, select the file and upload it directly either to the
database or any other place on the server (which would be predefined by

the database admin).
Searching, browsing and retrieving of the files uploaded would complete

this nice database.

I use MS Access 2003 (and all of the users likewise).

Could anyone of you please share some insights with me on how to cope
with that?

Responses are greatly appreciated.

Thank you very much!
Stephan

Jan 18 '07 #1
3 22300
Baz
I don't understand what you mean by "a database to which users can upload
files". You want to actually store the files in the database? Why?
Anyway, your next statement seems to contradict this: "The files shall be
stored locally on a server."

You already have an effective mechanism for "Searching, browsing and
retrieving of the files", it's Windows!

All in all, not at all clear what you want to do and why.

"Stephan" <fr************ ******@yahoo.de wrote in message
news:11******** **************@ m58g2000cwm.goo glegroups.com.. .
Hi all,

I am new to access and I face the following "issue":
I would like to create a database, to which users can upload files
(=pdf, doc, xls...). The files shall be stored locally on a server.
The database needs to be accessed via Access form (no html, asp,...) as

we don't have an internal web server running.
I would like to create a form that allows the user to browse his local
harddrive, select the file and upload it directly either to the
database or any other place on the server (which would be predefined by

the database admin).
Searching, browsing and retrieving of the files uploaded would complete

this nice database.

I use MS Access 2003 (and all of the users likewise).

Could anyone of you please share some insights with me on how to cope
with that?

Responses are greatly appreciated.

Thank you very much!
Stephan

Jan 18 '07 #2
Hi Baz,

thanks for your reply.
Let me be more specific:
We use a file server where we store our files.
I want to develop a database which indexes the files, assign keywords
to the files so that relating files will be displayed when searched.

Perhaps there are different opportunities to store the files: either
within the database itself (which would blow up the size of the
database, or to store the files on the server - through the database -
and just place a link with the corresponding information in the
database. I would prefer this option.

Would you be aware of any other - easier - already windows built-in
possibilities to achieve this?

Grateful for any hints.

Thanks,
Stephan

Baz schrieb:
I don't understand what you mean by "a database to which users can upload
files". You want to actually store the files in the database? Why?
Anyway, your next statement seems to contradict this: "The files shall be
stored locally on a server."

You already have an effective mechanism for "Searching, browsing and
retrieving of the files", it's Windows!

All in all, not at all clear what you want to do and why.

"Stephan" <fr************ ******@yahoo.de wrote in message
news:11******** **************@ m58g2000cwm.goo glegroups.com.. .
Hi all,

I am new to access and I face the following "issue":
I would like to create a database, to which users can upload files
(=pdf, doc, xls...). The files shall be stored locally on a server.
The database needs to be accessed via Access form (no html, asp,...) as

we don't have an internal web server running.
I would like to create a form that allows the user to browse his local
harddrive, select the file and upload it directly either to the
database or any other place on the server (which would be predefined by

the database admin).
Searching, browsing and retrieving of the files uploaded would complete

this nice database.

I use MS Access 2003 (and all of the users likewise).

Could anyone of you please share some insights with me on how to cope
with that?

Responses are greatly appreciated.

Thank you very much!
Stephan
Jan 18 '07 #3
Baz
Well I assume you have a lot of files, otherwise you wouldn't need this
database. Given that, I certainly wouldn't store the files in the database.

I would basically have two tables in the database. One (let's call it
"documents" ) contains a unique (primary) key for the documents (some kind of
user-created code or short name), and the file path. I suppose you could
use the file path as the unique key, but they can be very long and unwieldy.

So, the "documents" table has these fields:

document_code
document_path

The other table (called, say, "keywords") would contain the keywords, and
would have these fields (which together constitute the primary key for the
table):

document_code
keyword

Table "documents" would be related to table "keywords" on, obviously, the
document_code field.

Unfortunately for you, finding and manipulating the file paths is going to
demand VBA programming within Access, so you are going to need to develop a
level of proficiency (or find someone who has it) in order to complete this
system.
"Stephan" <fr************ ******@yahoo.de wrote in message
news:11******** *************@1 1g2000cwr.googl egroups.com...
Hi Baz,

thanks for your reply.
Let me be more specific:
We use a file server where we store our files.
I want to develop a database which indexes the files, assign keywords
to the files so that relating files will be displayed when searched.

Perhaps there are different opportunities to store the files: either
within the database itself (which would blow up the size of the
database, or to store the files on the server - through the database -
and just place a link with the corresponding information in the
database. I would prefer this option.

Would you be aware of any other - easier - already windows built-in
possibilities to achieve this?

Grateful for any hints.

Thanks,
Stephan

Baz schrieb:
I don't understand what you mean by "a database to which users can
upload
files". You want to actually store the files in the database? Why?
Anyway, your next statement seems to contradict this: "The files shall
be
stored locally on a server."

You already have an effective mechanism for "Searching, browsing and
retrieving of the files", it's Windows!

All in all, not at all clear what you want to do and why.

"Stephan" <fr************ ******@yahoo.de wrote in message
news:11******** **************@ m58g2000cwm.goo glegroups.com.. .
Hi all,
>
I am new to access and I face the following "issue":
I would like to create a database, to which users can upload files
(=pdf, doc, xls...). The files shall be stored locally on a server.
The database needs to be accessed via Access form (no html, asp,...)
as
>
we don't have an internal web server running.
I would like to create a form that allows the user to browse his local
harddrive, select the file and upload it directly either to the
database or any other place on the server (which would be predefined
by
>
the database admin).
Searching, browsing and retrieving of the files uploaded would
complete
>
this nice database.
>
I use MS Access 2003 (and all of the users likewise).
>
Could anyone of you please share some insights with me on how to cope
with that?
>
Responses are greatly appreciated.
>
Thank you very much!
Stephan
>

Jan 18 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
9916
by: weiwei | last post by:
Hi All I want to upload either image or word document into either access or SQL server database so far I am doing some small testings and what I can do is upload the file from first page and display at the next page with (both image or word are working fine). however, I cann't insert them into the database, Plus, what type should I use in access database? anyone who has this type of project, please help me out below is my current test...
1
10957
by: bailee220 | last post by:
I have included the following code to open an Access database form from within an exsisting Access database. But when I run the code, it appears that it opens the database because in windows explorer I can see the database has the .ldb file extension. So it appears that it's open, but I can't see the database or the form that I've tried to open. What am I doing wrong. The following is the code: 'This is in the declaration part of...
4
1541
by: motessa | last post by:
Hello All, I have a quick, easy question. Hopefully, someone will give me a hint. I will greatly appreciate any help. I am pretty new to Access. I have created a Main Menu in Form in Access. When I click on Main Menu, an interface popups. In the interface, I have 2 buttons. For example:
5
6575
by: Seok Bee | last post by:
Dear Experts, I currently trying to use the FileUpload control from asp.net 2.0 to upload files. The uploading of the file I would like to store it in the Access Database. Unfortunately, I've no idea how I can do that. Can anyone provide me some solution by writing the code in vb.net? Many thanks in advance. Regards,
0
3031
by: jtsl | last post by:
I have a project where I need to save the form details into Ms Access database. Form consists of text box, select box, and files selection to upload to a table in the database. In understood that in the coding, enctype="multipart/form-data" need to be used. When print in the action file, value is empty for Request.Form. After saving the information and attachment, I also need to call the form out to display information as well as image...
1
1185
by: Scott | last post by:
Hi, I need some advice if possible.I have windows form app that needs to copy a file to a remote sql database. At the moment im exposing 1433 and connecting with a restricted user. I have read about SQLXML web services and this seem to me to be a better connection method i.e user connects to SQLXML webservice and runs SP to upload file via windows form app.
4
5061
by: gpl666666 | last post by:
Does anyone know any free online space which allows user to upload mdb Access database file?
1
2080
by: anakraj | last post by:
Dear sir,madam I am developing a one website. in that site to create a login form . backend is access database. i din't no how to connect the access database. in our ftp server. in local system our website execute successfully . but once i have to upload the ftp server .then database access is not worked.
1
2256
by: ririe | last post by:
Hi. I have a problem here. I want to upload a file together with its semester. So I create two field. One for the semester and one for the file to be uploaded. But the script doesn't work. I don't know why. However, if I try to upload the file without the semester field, the script is working. May be the problem comes from the semester field. This is my codes. Form.php ?><?php require_once('Connections/connection.php'); ?><?php if...
0
1143
by: NareshN | last post by:
Hi All, I am trying to upload excel file to database but i am getting error there is no row at postion 0. I am trying to save fileupload path its working in another system but is not wroking in my laptop. string filePath=@FileUpload1.postedfile.FileName. In another system i am getting full path of the excel file but in my laptop i am getting only file name but not full path
0
8792
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9479
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9337
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9266
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9209
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8215
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6754
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6054
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
3
2193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.