I was wondering if this is possible with infopath.
I have a general form with a header that has information which will
never change. Below the header there needs to be a picture field,
pretty much filling the remainder of that page and then a small footer
at the end.
Is there a way to select or highlight about 10 photos and have them
all populate in the form while Infopath creates a new page for each
picture.
I know I can do this one by one, but I'd like to grab all of the pics
and (after drop or adding) I end up with 10 pages with one picture
centered on each page.
These pictures become part of evidence gathered during inspections I
perform. The completed file needs to have one picture per page.
Currently I use a Word Document to do this, but it does not resize the
photos correctly.
Thanks for any help or advice you can offer.
Hello,
By "new page" do you mean "new view"? If so, it sounds like this is
something you would have to do programmatically. The built-in "File
Attachment" and "Picture" control are single-object controls and it sounds
like you want each of your images on its own page.
The "really fancy solution" might be some sort of ActiveX control embedded
in your form so that when you drag your (10) photos from Explorer the activex
control automatically creates a new view, adds a picture control, loads a
picture into the control, and continues with each dragged photo.
in C# this would probably be pretty easy to do, as you are just exposing a
drag-drop interface and allowing InfoPath to react to a drag-drop event.
There is an old article here
(http://blogs.msdn.com/infopath/archive/2005/04/15/408728.aspx) about
creating a user control and putting it in InfoPath that might help. Or there
may be an existing ActiveX control you could use.
When you finish your control, please let me know where I can buy it, it
would be very useful :)
Gavin.
> I was wondering if this is possible with infopath.
>
[quoted text clipped - 17 lines]
>
> Thanks for any help or advice you can offer.