473,326 Members | 2,815 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,326 software developers and data experts.

How do I make an attachment name appear while working in a form (Access 2007)?

Hi all - I have created a form to describe digital photographs (JPGs) attached to my database. Along with the attachment image, I've also added a field that displays attachment name.

However, this field is not populated until I close and reopen the database.

How can I have the form display the attachment name as soon as the attachment is added?

Thanks in advance for your help...
Mar 23 '11 #1
5 2018
NeoPa
32,556 Expert Mod 16PB
What is it that you are referring to as an attachment in Access? I know of no such object. Perhaps if you could tell us the actual name of the object type you're using we could help.
Mar 23 '11 #2
Hi NeoPa - thanks for such a quick reply! The data type I selected for the relevant field in my table is "Attachment". On the form, I added this field to display the attached file, which in this case is a JPG. There is also an option to display the name of the attached file in a separate field, control is source PHOT_ATT.FileName, where PHOT_ATT is the field name. Does this clarify?
Mar 23 '11 #3
NeoPa
32,556 Expert Mod 16PB
Not entirely, but it was enough to enable me to find that the Attachment data type was introduced in Access 2007. I'm afraid I can't help you there as I have no experience with that yet.

I can at least update the title of the thread to make it clear to anyone looking to help, which version you are dealing with. Good luck.
Mar 23 '11 #4
Ah, I should have mentioned which version of the program I'm using. Thanks for checking, and helping me clarify!
Mar 23 '11 #5
NeoPa
32,556 Expert Mod 16PB
No worries Ruth. I'll see if anyone else can help.
Mar 23 '11 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: a c s | last post by:
Hello, I'm a php newbie and have been using the following php code fine (until now) to submit a form and create an email message. I recently moved the site from a local server to an ISP's server...
12
by: CJ | last post by:
Why won't this work? I am passing the name of the form (I have two that use this validation script) but I keep getting an error. Error reads: "document.which_form.name is null or not an object" ...
1
by: Ronaldo N | last post by:
I'm trying to do some javascript form validation and I've discovered a rather difficult situation to handle with IE. Let's say there's a form with three input fields named "name", "method", or...
1
by: Ray | last post by:
I have a main form with four subforms. Let's imagine that the subforms are named Form1, Form2, Form3 and Form4. From any of the subforms I would like to doubleclick to open another form...
8
by: Nhmiller | last post by:
How is that done? Thanks. Neil Cat Paintings At Carol Wilson Gallery http://www.carolwilsongallery.com
0
by: Ghafran Abbas | last post by:
Use this function to get the name of the form in asp.net. This can be used if the name of the form on the client is needed, for example, you might need the form name in javascript. Modify the...
6
by: ashok.dhananjeyan | last post by:
Hi, Actually , I wrote one javascript to retrieve the name of the form in one particular page. what i did in this page is, <script> function checkbutton() {
2
by: Merk | last post by:
I'm wanting to know if/how it would be possible to load a form based on a string that contains the name of the form (class). For example, instead of doing this: myForm f = new myForm();...
1
by: Tyler | last post by:
Is it possible to determine the name of the form that caused a page to be submitted? I have seen numerous examples of how to determine the method of the POST and how to retrieve data elements from...
2
by: vanminh200x | last post by:
Hi, i'm a new member, i have a problem for .net. actually i can't understand to how to transfer form name and function name ( in that form ) into a class, then that class will call that function in...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.