File Upload To A Directory

Nov 20, 2007

hello good day. hope im inthe right place.
can someone point out to me if there is a way to do a file upload using ms access 2003 and not just stor the file path...thanks

View Replies


ADVERTISEMENT

Forms :: (Upload File) Button Stopped Showing All File Types

Oct 7, 2013

I recently upgraded a DB from 2003 to 2013 and ran into the following problem.

I have a button that opens a file dialog box and allows the user to upload a file to a predetermined location (and store the address as a hyperlink). I borrowed this code from someone else on here and modified it slightly.

In any case, the button still works, but now when it opens it doesn't have an option for "All files" under file types. So I can upload MS Office files, text files, etc., but not PDF files which are by far the most common types my users upload.

Private Sub Command35_Click()
Dim dd As Integer
Dim fileDump As FileDialog
Set fileDump = Application.FileDialog(msoFileDialogOpen)
dd = fileDump.Show
Dim Yourroute As String
Dim yourrouteName
Yourroute = fileDump.SelectedItems(1)
yourrouteName = StrReverse(Yourroute)
yourrouteName = StrReverse(Mid(yourrouteName, 1, InStr(yourrouteName, "") - 1))
FileCopy Yourroute, "us170fp00dataWBO_Tool_RoomDrawings" & yourrouteName
Me.Drawing_Link = yourrouteName & " # us170fp00dataWBO_Tool_RoomDrawings" & yourrouteName
End Sub

View 1 Replies View Related

Creating A File Upload Function Where Selections Save The Document?

Sep 12, 2014

I work in a school where teachers have to archive their assessments and other documents monthly. Currently they email them to a set email address but I was wondering if it would be possible for me to make something with access whereby they can do this. I'd like to make a form where they selected their name and then attached a file, this file would then be saved in an area I would have assigned that persons name to, does this make sense? I want it to be very simple so just a name section from a dropdown then a file upload section and done.

View 11 Replies View Related

Adding FTP Upload File Capability To Sweep Function In Microsoft Access

Oct 31, 2007

Hi Folks,

I have created a file sweeping program in Microsoft Access via VBA in a few modules. The program simply reads certain files in certain directories, and determines if, when, and where to copy those files based on certain user inputs.

One of the features I would like to add would be to upload the files that meet that criteria to a conventional FTP server requiring a username and password. However, the last few days of research all tells me that it is not possible to perform FTP functions in Microsoft Access or in VBA.

I am just wondering if that statement is really true? I figure the worse case is that windows has its own version of FTP.exe that you can execute in a DOS window ... would one be able to perhaps create a command line execution via VBA? Any simple ideas or is it not worth the trouble trying to FTP upload some files via Microsoft Access with VBA?


Thank you very much,

Joe

View 1 Replies View Related

Forms :: Search For And Upload A File To Specific Location Using A Command Button

Jan 11, 2015

I would like to create a form that allows me to search for a folder on my desk top, then once located i can transfer that file to a specific location on another drive, Similar to the Browse / upload function you see on many applications.I am using Access 2003. Is this possible??

View 5 Replies View Related

Browse [Find A Directory Or File]

May 10, 2005

(Referring to this post (http://www.access-programmers.co.uk/forums/showthread.php?t=75790) by ghudson)


Hi,

This post was very useful, it really helped me out, but I do have one question. My database will be used by multiple users and will be stored on a mapped network drive, just as the files that I want to link to. Now unfortunately not all machines are configured the same, so the same network drive can have different drive letters depending on the machine and this might cause problems. Is there a way to modify the code to get the absolute network path instead of the drive letter?

thx
Luke

View 1 Replies View Related

Browse [Find A Directory Or File] Code

Dec 11, 2006

I'm having a small difficulty in using the code example ghudson posted for Browse [Find a directory or file]. First off, the code works great. Thanks a lot for posting it!

The problem I am having is when linking a folder via dBrowseDirectory. The folders I am linking are on a shared network drive and I am trying to figure out how to set the initial directory to default to the networked PC. This way the user doesn't have to navigate to the shared drive every time. All they would have to do is navigate to the particular folder to link (2 clicks instead of 10+).

The dBrowseFiles function allows to set an initial directory, however I cannot figure out how to set it for dBrowseDirectory. Is there any way to do this by altering your code for dBrowseDirectory?

Thanks in advance!

View 5 Replies View Related

Login And Redirect Users To Specific Directory, File, Or URL

Apr 28, 2005

Hi guys,

I need help in setting up a login page which would redirect users to their specific directory, file, or URL.
I'm able to create the login page without any problem but i'm unsure what exactly i need to do afterwards to get this to work.

can someone, anyone please help


your help would be much appreciated.


please mail me with any information you might have the1@studio9.shacknet.nu


thanks in advance.

View 1 Replies View Related

Modules & VBA :: Opening File Based On Directory Location

Feb 15, 2015

When creating an incoming inspection database, I want to set it up so when I am in a form to add data, I want to have a command button where I can pull up the associated CAD drawing based on part number and drawing number. I would like to enter the directory location into a table so I could change it if I need to.

So basically I want to go something like this:

.tblDirctoryLocation
txtDirectory

.tblProduct
txtProductName
txtProductNumber
txtProductCADNo

These tables would not be related to one another as there will only be one record for the directory location and multiple records for products.

Somehow I want the db to assemble file location like this:

“EQuality_DirectoryIncoming” & “ProductNumber_” & “CADDrawing” & “.pdf”
End result: EQuality_DirectoryIncomingProductNumber_CADDraw ing.pdf

Is there any way this could be done?

View 1 Replies View Related

Modules & VBA :: Copy File To New Directory On Button Click?

Dec 22, 2014

Is it possible in access, to create a button that will copy a file to a new directory? Specifically, the data field in question is an access hyperlink that we can click on to open a PDF drawing of a part. I just want to copy the file the hyperlink points to, into a new directory.

EX:
X:database/drawings/somefile.pdf
X:erp/drawings/somefile.pdf

I don't think a macro can do this, but perhaps vbscript can.

View 2 Replies View Related

Modules & VBA :: Scan Multiple Page PDF To A File And Directory Location?

Jan 20, 2015

I want to create a button on my form that when pressed will scan my multi page document (ADF) from my Epson WF-3540 and save it as a specified file name and folder.

View 5 Replies View Related

I Can't Upload This ..to Big...please Help..

Sep 21, 2006

The original file is about 7.5 megs I did the compact and it brought it
to about 7.2...I then zipped it and got it to around 2.2 megs...
The upload here is 363kb ? Theres no way I can get it that small.
Any suggestions ?

I posted it at savefile.com
it is 2.23 megs...sorry couldn't make it any smaller...

1. ) I am trying to get the clear button to clear the subform at the same time it clears the listbox, toner box and the paste box...currently it clears everything but the subform...
I would also like the subform to show up blank when the program is first run.

2.) How do I base a list box on the query that fills in the subform ?
The subform has the ability for the user to input data into the "input"
field then it does a calculation and gives the results in the "results" box.
I would like a report to be run and able to print when this is completed

The file is accessible at this link just click download.
http://www.savefile.com/files/94838

Wow...I know thats a lot to ask but, i'm stuck and can't figure it out...
New at this access stuff...

Thanks !

View 5 Replies View Related

Unable To Upload Db????

Jan 14, 2008

I am unable to upload a zipped copy of my database. I just get this message:

--------------------------------------------------------------------------

Invalid Post specified. If you followed a valid link, please notify the administrator

The file is 134k...

Contacted admin as suggested
-------------------------------------------------------------------------
Anyone?

Thanks,
Dave

View 5 Replies View Related

Upload Pictures

Sep 27, 2006

Hi There,

Can someone help me please. I have designed a product management database for a friend. He would like to be able to upload pictures of his products onto his database to be viewd later. So on the products form, I'd like two command buttons (I guess), one to define the file path and another to open that file path.

ANy help would be appreciated.

Kerry.

View 2 Replies View Related

Excel To Access Upload

Dec 29, 2005

Hi All,

I have an existing database in access now I need to add records (10000 rows) in this table from excel. When I try to do an import from Excel to Access it gives me an error.
Please Help!!

View 2 Replies View Related

Upload CSV Data To Access

Dec 29, 2004

I have converted 6 Excel spreadsheets to one CSV text document distinguished by their sheetnames. Where I am stuck is trying to import that CSV file into 6 separate tables in my Access database. Does anyone have any ideas how to do this using VBA. I am still a newbie at this, so any help would be appreciated.

View 1 Replies View Related

Upload Data From Excel To Access

May 9, 2006

Hi all,

I have an access mdb file and just added a new field to one of the tables.

I also have several spreadsheets with bits of information that I would like to use to update the newly created field for each record.

Not sure what is the best way to approach this. Can I use a query that will look into the spreadsheet and copy the specified cell to the newly created field using an if statement? or

Do I need to get all data into a table and upload as a new table in Access then use query to update the records?

Please keep in mind that I do not wish to append new records, I need to update existing ones.

The above represents my thoughts on how to approach this task, I would appreciate any help.

I must also state that I am totally new to access and would appreciate as much detail as is possible in the response(s).

Thanks,
Wingale

View 1 Replies View Related

Data Upload From Excel To Access

Feb 4, 2013

I have uploaded data from excel to acces and found some data issues in columns in Acess tables.It has '?' mark in some data in the filed.This is mainly becuuse some excel cells got carriage return in the cell. Can I fix this issue strightway in access column without update excel to remove space and carriage returns in there and then upload again.

View 2 Replies View Related

MsAccess : Create Upload Image Form

Feb 25, 2007

To
Repected Viewers'

I'm developing small window application using msaccess database and forms.

I want to create a form where a user can upload or attached or save as images to another folder or direct to msaccess database...

"Just like a uploading profile photo"

so please let me know

regards
mdateeq2003

View 2 Replies View Related

General :: How To Split Database And Upload To Server

Dec 11, 2012

I am new in database design . I did a database by access 2010 which contain form and tables and i want to split it to backend and frontend and then make then in website

I need step in detalis to do that

How to split

How to put the backend on my site

How to make frontend in site

View 1 Replies View Related

Modules & VBA :: Upload CSV To Array And Then Add Records To Table

Jun 9, 2013

I'm trying to upload a csv file into an Array then add records to a table. I have the following code which gets the information from a csv file which works fine.

Open filePath For Input As #1
Do While Not EOF(1)
Line Input #1, MyData

Problems:
1. When i try to load this into an array , it does not return all the information. It will if a smaller amount of data is sought. For example if only 1 months month of data is requested. Is there a maximum data limit that can be parsed into an array with this method?

2. I'm not quite sure how to parse individual lines (records) to update a table in access. I have provided the code that I'm trying to use to accomplish this below. From code below am I doing this correctly?

3. For each record that is created in the database I would like to add a ticker string to the record for later querying. Can this be done and am I on the right track from the supplied code?

Private Sub ImportData(filePath As String, ticker As String)
'On Error GoTo Errorhandler
Dim arrData() As String
Dim MyData As String
Dim i As Integer
Dim Db As DAO.Database

[Code] ....

View 6 Replies View Related

Custom Upload Data To Access From Excel

Sep 9, 2014

I am working on a project where I need to upload selected data from multiple sheets of an excel file. Here is an example of what I want.

1. I want to create a table in Access with around 10 columns
2. Column 1 should be populated with the date field found in A2 cell of sheet 1 of the excel file
3. Column 2-5 should be populated with the columns B2-E200 in sheet 2 of the excel file.
4. Columns 6-7 would be populated based on values from columns 1-2 of the table. Basically Column 6 should be Column 1 date plus 60 days.
5. Column 8-10 would be user generated after the excel is imported and the user should have the ability to attach around 5 files to each row.

View 1 Replies View Related

How To Upload Data From Ms-Exell Ms-Access Table Automatically?

Oct 27, 2006

I am Oracle Guy & new to Ms-Access. I want to load the data from Ms-Exell into Table in Ms-Access automatically through Procedure / Macros. How to do this process?. Help me, if anyone knows.

Regards,
GKS:mad:

View 3 Replies View Related

General :: Upload Data From Excel Via A Button Into Access DB

Sep 11, 2014

I have a excel file and want a button in the sheet which would transfer a certain range of data in a defined excel sheet to an existing access db table. How to do about doing that.

View 5 Replies View Related

General :: Upload Selected Data To Access From Excel

Sep 9, 2014

I am working on a project where I need to upload selected data from multiple sheets of an excel file. Here is an example of what I want.

1. I want to create a table in Access with around 10 columns
2. Column 1 should be populated with the date field found in A2 cell of sheet 1 of the excel file
3. Column 2-5 should be populated with the columns B2-E200 in sheet 2 of the excel file.
4. Columns 6-7 would be populated based on values from columns 1-2 of the table. Basically Column 6 should be Column 1 date plus 60 days.
5. Column 8-10 would be user generated after the excel is imported and the user should have the ability to attach around 5 files to each row.

View 5 Replies View Related

Upload Excel Data To Single Column In Access

Jul 22, 2015

I cannot seem to find a way to upload several rows of data to one column in Access!I have about 9 columns already in the table which have 900 rows each. These include names, numbers, address etc.I was asked to add a column on next to the 9 columns with corresponding User ID such as 0093457FX (Which I really do not want to add manually).Every time I try to upload an excel file the data either goes below the current data from the 9 columns on the new column and does not match the current data set, or it does not show up at all.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved