|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Browse pic in form?
hello there guys.thx for the help by the way!
i was just wondering what to do if i wan't to put a picture upload in my for?i wan't to upload a pic of the client at the same time as having his personal information. |
|
#2
|
||||
|
||||
|
Quote:
Have a look at this sample of mine at developerbarn.com <<Images In Access Forms >> Adding Images to Access Forms. It should do the job perfectly for you,. If you have any questions feel free to ask,. |
|
#3
|
|||
|
|||
|
that is exactly what i need!now it's to take it apart and include it in my form...
is there any tutorials on this so i can learn it for next time? |
|
#4
|
||||
|
||||
|
Quote:
I dont think you'll find any tutorials for this but if you have any problems understanding what its doing or need help incorperating this into your tables/form myself, sbenj69 or some of the more knowledgable regulars here can help you through the conversion if you advise your table(s) and form structure.The main thing is "this is a extremely efficient way to show images in a form" Last edited by AOG123 : May 14th, 2008 at 05:40 AM. |
|
#5
|
|||
|
|||
|
thx!
can it thumbnail?so when i make a report to view the info i can see a small pic in the top corner? |
|
#6
|
||||
|
||||
|
Quote:
The answer to that would be yes,.. You will notice from my sample you are storing the image file path,.. As you have the path related to the ID record you can include it in your report to return the image,.. Here's a rough guide. Create a report Create an image control using the toolbox, you'll need to select any image, otherwise the control will disappear, Then delete the file path of the picture you selected,. “This will be in format tab / picture in the image control” Open up the code builder for the report and paste the following (next to sorting and grouping on the toolbar) Code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me![ImageFrameName].Picture = Me![ImagePathFldName]
On Error Resume Next
End Sub
The "On Error Resume Next" will prevent the report from failing when there is no image present. |
|
#7
|
|||
|
|||
|
ok so i created a report in the image in acess demo you linked me right?
ok then i insert an image.you image-unbound object frame-bound object frame? then the format. i don't have that option in my format tab? sorry dude im very new at this..lol |
|
#8
|
||||
|
||||
|
Quote:
No worries,. Have a look back here,.. I've added a report to the sample, <<DeveloperBarn.com>> |
|
#9
|
|||
|
|||
|
ok so i need all of the forms and report and the query to make this happen.
the part that is killing me is how to make a browse button that insert the link in the database. i got the part of the table. in php i can do it in seconds...this is driving me crazy. |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft Access Help > Browse pic in form? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|