| Chat with a LIVE Microsoft
Access Expert! |
||||
|
||||
|
#1
|
|||
|
|||
|
Default image for records
I am making an address book application and I have figured out how to add images to each record for a "profile pic". What I want is; when the user creates a new contact I want a default image to display in the image box (I have the image). I am quite good in Access, but not familiar with VBA code (If I even need VBA code). I hope I explained this well enough and any help would be appreciated.
|
| Sponsored Links |
|
#2
|
|||
|
|||
|
Re: Default image for records
Quote:
|
|
#3
|
|||
|
|||
|
Re: Default image for records
I used an attachment box, I think that's what it's called, and has arrows to browse the attached images and an option to attach a new image. I just need a way to set a default image to it.
|
|
#4
|
|||
|
|||
|
Re: Default image for records
ajetrumpet is right there. Using an image control for this you could change the image on the form's BEFORE INSERT event which triggers once a new record is created. I think it accepts bmp, jpg and ico, and I think there's a workaround for gif.
|
|
#5
|
|||
|
|||
|
Re: Default image for records
I used an attachment box, I think that's what it's called, and has arrows to browse the attached images and an option to attach a new image. I just need a way to set a default image to it.
|
|
#6
|
|||
|
|||
|
Re: Default image for records
What is the purpose of using an attachment control?
Select the control and show a (blown-up) print screen of the control, and the Properties Sheet. |
|
#7
|
|||
|
|||
|
Re: Default image for records
Okay I got it working. Thanks for the help.
|
|
#8
|
|||
|
|||
|
Re: Default image for records
No worries. What approach did you take?
|
|
#9
|
|||
|
|||
|
Re: Default image for records
I'm not quite sure. This was a team project and my partner ended up figuring it out. I know he used the property sheet and set the default image. I felt stupid after he told me that.
![]() |
|
#10
|
|||
|
|||
|
Re: Default image for records
Then you've used the attachment control for that. You should test it when it's bound.
Have fun with the rest of your (team) project ![]() |
| Sponsored Links |
![]() |
| Tags |
| default, image, picture, record |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| VB Dir function - not working? | Splinters | Modules & VBA | 7 | 01-08-2009 07:02 PM |
| i've got a little 'add image' problem too... | wiklendt | Forms | 7 | 12-21-2008 11:11 PM |
| Need to start new form entry with default image but also be able to modify them | hunterw | General | 2 | 06-16-2008 06:44 AM |
| Default Image Viewer | h1000 | Forms | 2 | 03-08-2006 10:17 AM |
| Trap Default Access Error: Can't load image | bhammerstrom | Forms | 0 | 04-30-2004 10:47 AM |