473,394 Members | 1,854 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

attach files

i have a form that i want to attach files to as hyperlinks
the problem is there could be upto 10 files attached to the form or
maybe none

How can i go about
1 creating the attachements and storing them in a table
2 Build a list of attached files for the user to view via a button

i have built the file path string so i am going to the folder where
the file is stored
i then want to click on the file and create the link between
record/form and file

when a user views the form i want the user to click a button (or maybe
a combobox)and a list of all files attached to the form/ record appear

thanks for your help
kevin

Jan 25 '06 #1
1 4335
kevcar40 wrote:
i have a form that i want to attach files to as hyperlinks
the problem is there could be upto 10 files attached to the form or
maybe none

How can i go about
1 creating the attachements and storing them in a table
2 Build a list of attached files for the user to view via a button

i have built the file path string so i am going to the folder where
the file is stored
i then want to click on the file and create the link between
record/form and file

when a user views the form i want the user to click a button (or maybe
a combobox)and a list of all files attached to the form/ record appear

thanks for your help
kevin

See http://www.mvps.org/access/api/api0001.htm to get a FileOpen dialog
to select a file.

Create a table that links to the master record. You can create a text
field or a hyperlink field to store the into. If a hyperlink, I usually
parse the display info from the hyperlink (see HyperlinkPart) and make
the foreground of the display text blue/underlined. In the dbl-click
event I call a modification of http://www.mvps.org/access/api/api0018.htm

Since you have multiple hyperlinks, use a continuous form or datasheet
as a subform to the main form.
Jan 25 '06 #2

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

Similar topics

15
by: tabonni | last post by:
Hi I try to grab the checked files from HTML page and then send those PDF files as attachments. It can just send email, there are no PDF files attached. Can anybody point out my error? My...
1
by: vijaygparikh | last post by:
HI i am writting a code for open default mail client and it works fine. i want to attach a file with the default mail client but file is not attached with "mailto:" option. If any one has idea...
5
by: erez | last post by:
Hello How can i attach an html file to TableRow in HtmlTable control that run at server, the code should be in server side. thanks
4
by: donall | last post by:
i have a DLL which implements a HTTP handler, written in C#, and have deployed it on IIS 5.0, on XP service pack 2. six months ago, i was able to debug it by attaching CLR to the process...
7
by: Greg P | last post by:
I know this is a long post, please bear with me. I have been working on this all weekend to no avail although I have done a good amount of research (see most pertinent links that I've looked at...
2
by: calebmichaud | last post by:
Hi I am having trouble understanding how to attach a file or files to a record. I want to (in form view0 allow the user to attach one or more than one file to the associated record, and then...
5
by: Kees de Winter | last post by:
Is it possible to attach the VS2005 debugger to an already running, and published website? If I choose "Attach to process" from the menu and then select the right process, set breakpoints, run the...
5
by: rrkrishna24 | last post by:
Can someone guide how to code in simple HTML, how to browse the files and attach them. That is, when I click a button say "Attach", a window should be opened with which one can browse the files in...
0
by: aboutjav.com | last post by:
Hi, How do I attach the .mdf and .ldf with the SQL Server Management Studio Express? Do I attached all 4 files? MyWebSiteName_log.LDF MyWebSiteName.mdf ASPNETDB.MDF aspnetdb_log.ldf
1
by: ziycon | last post by:
I'm getting this error when i try to attach a DB:
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...
0
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...
0
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...

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.