[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 350
  • Last Modified:

Attachment Field Question

Hello experts ,
i use the attachment field to store multiple images into a record of a patient. What i want to do is to display all the images stored in the table for this specific record i am browsing into a single form (popup). One picture next to other .
Is this possible ?
0
stathisx
Asked:
stathisx
  • 3
  • 3
1 Solution
 
stathisxAuthor Commented:
Alsoi forgot to ask :  is it possible to prevent user from entering anything else into the attachment field than picture images (jpg,png, etc.....) ?if yes is there any guidance to that ?
0
 
Jeffrey CoachmanMIS LiasonCommented:
There does not appear to be a way to do this easily if you need side by side.

You can do this vertically by dropping in the "YourAttachmentField.FileData" field in place of the Raw Attachment field in the form.

However, for some reason this does not seem to work correctly when you try to open a filtered popup form for the same key value...?

The only way I could do this is if you moved to the specific ID in the popup form
(Based on passing the ID value in the OpenArgs.)

Sample attached
Access-EEQ27315865FormViewMultip.accdb
0
 
stathisxAuthor Commented:
ok i will take a look at your suggested solution and i will post back.

thanks!
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
Jeffrey CoachmanMIS LiasonCommented:
ok
0
 
stathisxAuthor Commented:
thanks man it worked. i would prefer to do it horizontally though but it is difficult to achieve that  if i understand well.
Thank you for the effort :)
0
 
Jeffrey CoachmanMIS LiasonCommented:
Yeah, it's curious that:
1. By default (just inserting the attachment field), you will only get 1 to display
2. If you insert the .FileData field you will get two only vertically, and only by moving to the record (not by filtering as you might expect)

I even tried enumerating the .filedata property (.filedata.Properties.Item(0), .filedata.Properties.Item(1)), ...but no luck their either.

So this question forced me to do some research as well.

JeffCoachman
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now