General :: DocmdTransferText And Adding Links To Document

Mar 25, 2015

I'm currently working on a way to import data from many word documents into a table - I've got this working fine using the following code:

Code:

Private Sub bImportFiles_Click()
On Error GoTo bImportFiles_Click_Err
Dim objFS As Object, objFolder As Object
Dim objFiles As Object, objF1 As Object
Dim strFolderPath As String

[code]....

However, I'm wanting to add a link to those files to the table so that the user can click on the record (or select one and then use a button) to open each document in it's native environment (MS Word). I've tried adding a self-referencing hyperlink to a form in the word document and then reading that in - but that doesn't seem to work. As these files may move around (and there are a lot of them) I need to make sure it's done automatically so can't really get the user to write it in manually.

View Replies


ADVERTISEMENT

General :: Retrieve Links To Find Some Documents - Adding Message Box?

Dec 21, 2012

I have a report named Link_report which retrieve links to find some documents. I would like to add a Msgbox to say: " No link has been found for this document" when the case link is empty.

View 10 Replies View Related

Adding Links To Posts

Feb 28, 2008

Sorry, cant find this in help, and cant do it by trial and error

How do I add a link to a post/thread in a reply

View 4 Replies View Related

Forms :: Adding Links To Files Into A Field - Accessing Correct Folder

May 16, 2014

I have a code to add links to files into a field, I recently migrated from Windows 7 to 8 and the name of the folders in 8 are different; therefore the database I have does not find the linked file anylonger.

To avoid this happening in future, I would like to have the option for the user to set the folder path through maybe a table and then the link will refer to the settings in the table.

Currently I am using the following code:

Private Sub AddLinkDoc_Click()
Dim strFilter As String
Dim strInputFileName As String
Dim varDirectory As String
varDirectory = "C:UsersMarco TagliaferriDocumentsBA CityflyerCrew SchedulerDocumentationDocs"

[Code] ......

View 2 Replies View Related

Modules & VBA :: Adding Password To A Document Before Emailing

Jul 2, 2015

I have built a simple database (by no means complete) but I am after adding some further code into it. Basically on the form [FrmMain] I have a button that allows me to send a document to a relevant CSU contact. It finds the file name based on the info in the table TblResident. What I want to do is open the word document before sending and add a password to it using vba.

View 1 Replies View Related

Reports :: Adding Info From Form To Report Or Word Document

Aug 2, 2013

I'm trying to add the information from a form and subforms to a report. This would be a medication mar sheet and needs to be in the format of the attached word document. I'm happy to do it in a report and change the formatting if that will work better. The personal info needs to go at the top and the medication needs to be listed on each sheet.

The form is called FrmMarSheet. It basically needs the info from that like the "sample mar sheet.doc". I can only get one medication per page to work at the moment.

View 1 Replies View Related

General :: XLS Links And Selecting Options

Jun 9, 2012

I want to use information supplied to me by suppliers as spreadsheets to create a database that i can navigate through by selecting from drop down options.

Example;
Imagine a product being broken down by its features, such as a washing machine.

Here is a list of what i would need to sort on,

Manufacture
Model
Type
Size
Price
Colour...and so on

So, if a customer asked "what 8kg 1200rpm washing machines do you supply for under £300 and in black" i would like to able to find all that info by drilling down a few selections.

View 1 Replies View Related

General :: List Of Active Links Populated From A Query

Dec 25, 2012

I have a main form (in a single form view) that show a record from a table. I am going to add a sub form (probably a continuous form view) which can show a list of fields (probably a name) from all records from a child table that match condition PrimaryKey = ForeignKey.

What is the best way to make the list of the fields sort of clickable so that I can click on any of them and e.g. open a form with information about a child record? Should I look for hyperlinks in reports, a list box, a continuous sub form with records?

View 3 Replies View Related

General :: Saving Links - Combobox Not Lose Data?

Jul 31, 2012

I'm saving links to a combobox in a form, but each time I close out of the form and reopen it the Combobox doesn't keep the list of data I entered before and only keeps the last selected one in its drop down menu.

Is there a way to make the Combobox store/keep the data?

View 14 Replies View Related

General :: How To Create Forms In Access DB Which Uses Links From Source Files As Its Tables

Sep 7, 2012

I have a client who needs a Database created in Access for him. he would like to regularly auto-populate this Access DB from an Excel file - like twice a week.In addition, he wants me to create Forms, Queries, reports and Macros for him in the Access, which will have 2 Tables from Excel files and about 3 Tables created in Access.I figured that I could do that if I gave him a link to the Tables he needed from the Excel file(s). But how do I work remotely for him- the path to those files is on his computer. I can load them to mine, but then he can't open the files.How can I create Forms etc. in an Access DB which uses links from source files as its Tables?

View 2 Replies View Related

General :: Create Database In Access That Links To Contacts In Outlook Pst File

Nov 21, 2013

I have limited programming skills but a basic understanding of databases.I want to create a database in Access that links to contacts in an Outlook pst file, and in the Access database I want to create a series of date dependant tasks or processes that I can apply to the relevant contact.The object being to to save that collection of tasks to apply to different contacts within Access.

View 2 Replies View Related

General :: Pull Images From Shared Folder On Network With Links - Email Attachment

Jul 9, 2014

I have a database that pulls images from a shared folder on our network with links. Is it possible to create a button to email the current record on a form and attach the file it references in the link?

The attachment is a pdf signature. I didn't want to include the files in the database for space issues.

I am using Access 2007. We out outlook as our email client.

View 1 Replies View Related

General :: Access Document Tabs

Nov 9, 2012

I have a problem with the way my forms are opening.The problem is with the document tabs, not the in form tabs.Basically the database will open the login screen (Modal & Popup) on load, after a successful login the user is redirected to a diary events page and the login form closes, then a user can select an ID (hyperlinked) which will open up a popup/modal form for more details and then if they want they can click a button within the popup which will view all client details.

I use VBA to close any popup/modal forms and open the Main Client Screen, at this point there are only 2 forms open in Single Form format, which is the diary events page and main client screen.The problem is once you click "view client" and the form opens, it defaults to the diary events tab, so the client screen is opening behind the diary events form, you then have to click the document tab for "client screen" to be able to view the form, which is a minor issue but annoying still.

View 1 Replies View Related

General :: Possible To Email Hyperlinked Document?

Oct 16, 2013

I have a contacts database for an accountant with hyperlinks to numerous documents all set up and they work correctly - open the application and show document.

What I would really like to do is from within Access using VBA send an email to the client enclosing the hyperlinked document ( not the hyperlink itself which would not be available to the client).

View 1 Replies View Related

General :: Possible To Insert Word Document On Form Tab

Jul 9, 2013

I want to have information on a form tab. Is it possible to insert a Word document in the tab? This will consist of a set of instructions for the user.

View 4 Replies View Related

General :: Link Access Query To Word Document

Sep 26, 2012

Is it possible to link a field in Access to a footer in Word?

I have a field in Access that would look like the following;

G10E-PRO-001RevA

Additional data in access would have the document name, and revision, matching 2 lines of text in Word. I would like the footer in the document to be the above sample, which I assume could be a query that need to run to match the 2 fields of information.... not really sure if this is even possible?

View 2 Replies View Related

General :: How To Export Report Or Table To Word Document

Jul 10, 2014

How do I export report or table to word document with check box so people can check them and send to me back. I can change my records.

For example

Delete ITEM
5540 (Chick box goes here, they can tick)

View 5 Replies View Related

General :: Possible To Insert A Button In Access Form Which Would Open A Word Document

Mar 3, 2013

I have an access form that fills an access table (MS Access 2003). Also, I have a Word (2010) document/template with some template text and empty fields which should be filled with data from access. Is it possible to insert a button in access form which would open a word document and populate appropriate fields with data from that form?

View 4 Replies View Related

General :: Open Word Document With Corresponding Data Filled From Text Field Of A Form

Jul 10, 2013

I am trying to open a word document with corresponding data filled from the text field of a form. I managed to get the word document but I don't know how to give a variable in word document.

View 2 Replies View Related

General :: Adding Two Totals Together?

Jul 18, 2013

I am trying to add two columns with multiple records in them together using VBA.

I have one column named "Quantity" and that has 5 records going down

Column1(Row1) = 2
Column1(Row2) = 3
Column1(Row3) = 1
Column1(Row4) = 2
Column1(Row5) = 2

I have another column name "Quantity2" and that has another 5 records going down

Column2(Row1) = 1
Column2(Row2) = 4
Column2(Row3) = 2
Column2(Row4) = 2
Column2(Row5) = 2

I need a code to simply add them all together together using VBA and put the value back in a text box.

So the Value in the text box would be = 21

View 9 Replies View Related

General :: Sum Adding 1 To Overall Result?

Mar 26, 2015

I have a report...with one number at the end of a line, beneath is a sum() of all the numbers above.

To test this report, I have ensured there is just one line to 'sum' ....this particular number happens to be $15.82, yet the field showing the sum of this is displaying $15.83 ...I'm going potty here trying to work out where the extra 1 is being added...it's not a rounding error as there are no further decimals involved, both fields are set to 'fixed' 2 decimal places.

View 3 Replies View Related

General :: Adding Values To Graphs?

May 23, 2013

anyway you can add the values onto a graph

eg i have created a bar graph and on each bar would like the value shown on the top of it

View 9 Replies View Related

General :: Adding Date Add To A Field

Jul 5, 2013

i have a tbl that stores items that have an expiry. in a child table i want to store the expiry. but as it is different for each item i need a way of doing this.

i thought that by having

DateAdd('m',3,Date()) in one of the fields this would work.

on click event i would like the date add to come into play but the way i am doing it comes up with an error. too few arguments.

this is what i have so far

Code:
Dim rs As DAO.Recordset
Dim db As DAO.Database
Set db = CurrentDb

[Code].....

View 14 Replies View Related

General :: Adding Photos To A Form?

May 6, 2013

I have created a profiling database for my school. Each student can access their own form via the school's admission number - which I use as the primary key for most of the tables on the form. One section of the form shows a photo of the student. I take this photo from the school's SIMS photo file which had all the children's photos. Each photo in the file uses the school's admission number as its filename (for example 000358.jpg ).

I want to update the photos in my table by using a macro or piece of CBA code. Unfortunately, I don't know how to do this. When I set the database up I did each photo one at a time, so it took several hours.

View 5 Replies View Related

General :: Adding 00 To Number Field

Feb 12, 2014

I have a text field with numbers like this: 2014556682 or 2014236781, etc.

My problem is that I need to insert 00 between the 2014 and the last 6 numbers.

View 5 Replies View Related

General :: Adding Record To Multiple Tables

Jun 6, 2013

I have a main table with subject id and other fields. I also have 16 other tables which have questionnaire information at 17 different timepoints. In those tables, the subject id is the only connected field between the main table and 17 different years. When I add a new record (by subject id) on the main table, I want it to add that same subject id to the 17 other tables because that subject id will eventually get all 17 years worth of data. But even using subforms, it will not add a new subject to the other tables unless I add some sort of information such as (date received) into the subform.

View 6 Replies View Related







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