473,789 Members | 2,729 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

TOOLS: Adding docs (PDF) to a database

I am looking for add-on tools or code to allow me to attach scanned PDF
documents to a database record.

I would like to know if there are developer tools out there that can do the
following:
- Appending muliple as in many PDF docs to a specific record.
- Or maybe I create a folder and the AccessDB reads the contents of the
folder showing the files related to the specific record.

Kinda like a achive file manger of related files to a database record.

Note: Eventually this access database will be pushed to SQL server if that
helps.

Can anybody help me with this?

Thank you in advance.
Michael Kintner
May 29 '07 #1
6 7625
On Tue, 29 May 2007 09:29:27 -0400, "Michael Kintner"
<no****@nospam. comwrote:

Yes that helps, because it eliminates the new Attachements feature in
A2007 from consideration.
Typically you want to store documents in the file system. Your app
would have a "root" folder option, and the files are below that root.
Sometimes they can all be stored in one folder, sometimes you want to
create a folder tree. That's more useful for humans than for programs.

Your app would also have a table with filenames, 1 to many to the main
table. E.g. if these were files about orders, you would create
tblOrderFiles:
FileID (auto, PK)
OrderID (required; link to tblOrders.Order ID)
FileName (required)

Then you write queries to select, add, delete from this table.
Then a form that uses these queries to show the files in the table,
allows the user to manipulate them (e.g. Add, Delete), and view them.

View I would do using the ShellExecute API
(http://www.mvps.org/access/api/api0018.htm)

-Tom.

>I am looking for add-on tools or code to allow me to attach scanned PDF
documents to a database record.

I would like to know if there are developer tools out there that can do the
following:
- Appending muliple as in many PDF docs to a specific record.
- Or maybe I create a folder and the AccessDB reads the contents of the
folder showing the files related to the specific record.

Kinda like a achive file manger of related files to a database record.

Note: Eventually this access database will be pushed to SQL server if that
helps.

Can anybody help me with this?

Thank you in advance.
Michael Kintner
May 29 '07 #2
Access 2007 is the first version which allows attachments to a record.
Earlier versions allowed embedding some document types.

You can simply open a document by using the ShellExecute api on the stored
path to the document:

http://www.mvps.org/access/api/api0018.htm
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

"Michael Kintner" <no****@nospam. comwrote in message
news:13******** *****@corp.supe rnews.com...
>I am looking for add-on tools or code to allow me to attach scanned PDF
documents to a database record.

I would like to know if there are developer tools out there that can do
the following:
- Appending muliple as in many PDF docs to a specific record.
- Or maybe I create a folder and the AccessDB reads the contents of the
folder showing the files related to the specific record.

Kinda like a achive file manger of related files to a database record.

Note: Eventually this access database will be pushed to SQL server if that
helps.

Can anybody help me with this?

Thank you in advance.
Michael Kintner

May 29 '07 #3
You can also open a document with the Application.Fol lowHyperlink statement.
It's worked for documents on which I've used it whose file types were
registered.

Is it any _better_ than using ShellExecute? I don't know. Anybody have
information one way or the other?

Larry Linson
Microsoft Access MVP

"Arvin Meyer [MVP]" <a@m.comwrote in message
news:%2******** **********@TK2M SFTNGP04.phx.gb l...
Access 2007 is the first version which allows attachments to a record.
Earlier versions allowed embedding some document types.

You can simply open a document by using the ShellExecute api on the stored
path to the document:

http://www.mvps.org/access/api/api0018.htm
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

"Michael Kintner" <no****@nospam. comwrote in message
news:13******** *****@corp.supe rnews.com...
>>I am looking for add-on tools or code to allow me to attach scanned PDF
documents to a database record.

I would like to know if there are developer tools out there that can do
the following:
- Appending muliple as in many PDF docs to a specific record.
- Or maybe I create a folder and the AccessDB reads the contents of the
folder showing the files related to the specific record.

Kinda like a achive file manger of related files to a database record.

Note: Eventually this access database will be pushed to SQL server if
that helps.

Can anybody help me with this?

Thank you in advance.
Michael Kintner


May 29 '07 #4
"Larry Linson" <bo*****@localh ost.notwrote in
news:u%Y6i.3724 $D31.1612@trndd c01:
You can also open a document with the Application.Fol lowHyperlink
statement. It's worked for documents on which I've used it whose
file types were registered.

Is it any _better_ than using ShellExecute? I don't know. Anybody
have information one way or the other?
I've had circumstances where FollowHyperlink didn't work for some
unexplained reason where ShellExecute did. Also, I believe the error
messages are different with ShellExecute -- I found them easier to
work with than FollowHyperlink , which was often completely silent.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
May 29 '07 #5
I've occasionally had followhyperlink fail. Now that you mention it,
however, ther is an excellent hyperlink method, that hasn't failed (on me at
least) yet:

Private Sub cmdMyButton_Cli ck()
Me.cmdMyButton. HyperlinkAddres s = "C:\Data\" & Me.txtFileName
End Sub

where C:\Data\ is the folder and txtFileName completes the fully qualified
path.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

"Larry Linson" <bo*****@localh ost.notwrote in message
news:u%Y6i.3724 $D31.1612@trndd c01...
You can also open a document with the Application.Fol lowHyperlink
statement. It's worked for documents on which I've used it whose file
types were registered.

Is it any _better_ than using ShellExecute? I don't know. Anybody have
information one way or the other?

Larry Linson
Microsoft Access MVP

"Arvin Meyer [MVP]" <a@m.comwrote in message
news:%2******** **********@TK2M SFTNGP04.phx.gb l...
>Access 2007 is the first version which allows attachments to a record.
Earlier versions allowed embedding some document types.

You can simply open a document by using the ShellExecute api on the
stored path to the document:

http://www.mvps.org/access/api/api0018.htm
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

"Michael Kintner" <no****@nospam. comwrote in message
news:13******* ******@corp.sup ernews.com...
>>>I am looking for add-on tools or code to allow me to attach scanned PDF
documents to a database record.

I would like to know if there are developer tools out there that can do
the following:
- Appending muliple as in many PDF docs to a specific record.
- Or maybe I create a folder and the AccessDB reads the contents of the
folder showing the files related to the specific record.

Kinda like a achive file manger of related files to a database record.

Note: Eventually this access database will be pushed to SQL server if
that helps.

Can anybody help me with this?

Thank you in advance.
Michael Kintner



May 29 '07 #6
Thanks, Arvin and David. I haven't used Application.Fol lowHyperlink a great
deal, and had not encountered a failure, but I'll keep an eye on it. When
it fails, does it just do so on some hyperlink addresses, or always on some
records, or always for the table?

Larry Linson
Microsoft Access MVP
"Arvin Meyer [MVP]" <a@m.comwrote in message
news:OK******** ******@TK2MSFTN GP04.phx.gbl...
I've occasionally had followhyperlink fail. Now that you mention it,
however, ther is an excellent hyperlink method, that hasn't failed (on me
at least) yet:

Private Sub cmdMyButton_Cli ck()
Me.cmdMyButton. HyperlinkAddres s = "C:\Data\" & Me.txtFileName
End Sub

where C:\Data\ is the folder and txtFileName completes the fully qualified
path.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

"Larry Linson" <bo*****@localh ost.notwrote in message
news:u%Y6i.3724 $D31.1612@trndd c01...
>You can also open a document with the Application.Fol lowHyperlink
statement. It's worked for documents on which I've used it whose file
types were registered.

Is it any _better_ than using ShellExecute? I don't know. Anybody have
information one way or the other?

Larry Linson
Microsoft Access MVP

"Arvin Meyer [MVP]" <a@m.comwrote in message
news:%2******* ***********@TK2 MSFTNGP04.phx.g bl...
>>Access 2007 is the first version which allows attachments to a record.
Earlier versions allowed embedding some document types.

You can simply open a document by using the ShellExecute api on the
stored path to the document:

http://www.mvps.org/access/api/api0018.htm
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

"Michael Kintner" <no****@nospam. comwrote in message
news:13****** *******@corp.su pernews.com...
I am looking for add-on tools or code to allow me to attach scanned PDF
documents to a database record.

I would like to know if there are developer tools out there that can do
the following:
- Appending muliple as in many PDF docs to a specific record.
- Or maybe I create a folder and the AccessDB reads the contents of the
folder showing the files related to the specific record.

Kinda like a achive file manger of related files to a database record.

Note: Eventually this access database will be pushed to SQL server if
that helps.

Can anybody help me with this?

Thank you in advance.
Michael Kintner



May 31 '07 #7

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

Similar topics

5
1701
by: wcc | last post by:
Hello group, I wonder what tools/modules are avaible to manipulate PDF ducument, i.e., merge, split, rotate page, crop, etc.. I checked the PyPI page and seems the only one may fit the need is pyPdf. But it is in its early stage and currently only supports two functions: merge & split. I suppose working with PDF document is a common task. Just wanted to know if there are other alternatives. Thank you very much! - wcc
4
1569
by: trevor.niemack | last post by:
Hello I am currently learning VB.net and I am using the tutorial on VB express. One of the tutorials is about adding a database and then creating a visual input or amendment screen but event though I have followed the tutorial and even redone all the steps I cannot get the input to save into the data below is the code that currently exists against the form. Public Class Form1
3
1359
by: benkollam | last post by:
Hi, I have problem updating the changes in the dataset to the database. I am using an Access database and following is the code used for adding a new row. Please help Private Sub ClientAdd_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try conString = "User ID=;Password=;Data Source=C:\VBProject\SasloBilling\SASLO-Billing.mdb;Provider=Microsoft.Jet.OLEDB.4.0;Persist Security...
1
1058
Ali Rizwan
by: Ali Rizwan | last post by:
Hi I have a database having columns Stationary, Furniture, Electronics etc. I want to add a column Others using vb6 how can i do that. I know to update, adding rows but dont know how to add a column. Thanxx
0
1069
by: Miloann | last post by:
I am evaluating an inhouse application developed in MS Access 97 but has been converted to 2007. I would like to evaluate data integrity, program bugs, and globally health of the design. Does anyone know any tools that can be of help for the purposes? Thanks.
1
1464
by: raaaz | last post by:
Hi dears, I am adding a record in Access database using AddNew method of recordset. here is the code of the page .. <% Set RsLibBuild = Server.CreateObject ("ADODB.Recordset") RsLibBuild.ActiveConnection = conn RsLibBuild.LockType = 2 RsLibBuild.CursorType = 1 RsLibBuild.Open "select * from tblbuilding where building_name='" & request.Form ("buildingname") & "' and area_name='" & request.Form ("areaname") & "' and...
0
1355
by: jakeesgirl | last post by:
I have an existing database I created in sql server 2000 express that I connect to through the program I'm creating in c# visual studio express. However, I want to add the actual database to my program so that the person that installs it has their own personal database to work with (it doesn't need to be connected to any type of server). Is it possible to add the existing database to visual studio and not have to work through a connection?
4
7856
by: jaz215 | last post by:
hi! how do i add a record in a database without using the datacontrol and adodc. i want to rework my code to using purely codes and not being dependent on the design on vb. so far i have. Set rs = New ADODB.Recordset Set con = New ADODB.Connection con.ConnectionString = "provider=microsoft.jet.oledb.4.0;data source=C:\Program Files\Logsheet\Logsheet.mdb;" con.Open rs.Open "SELECT * from Employee;", con,...
10
5052
by: freddie007 | last post by:
The error seems to be error due to space or character set ========================================== Error Executing Database Query. Incorrect string value: '\xC2\x96 Jan...' for column 't61' at row 1 The error occurred in C:\ColdFusion8\wwwroot\JJ8\1_mmm\3mmm_add2_readhtml_action3===.cfm: line 79 77 : (type1, t61, add, JJ1) 78 : values
0
9511
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,...
1
10139
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
9983
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
9020
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
7529
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
6769
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();...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4092
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3700
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.