Group:  Other Microsoft Office Products ยป microsoft.public.infopath
Thread: File Attchment

Geek News

File Attchment
Samson Louis 12/2/2008 12:34:51 PM
Hi,

I have a File Attachment control on my form. I am abel to submit the attachment to the form library and the attachment details to the SQL database.

Now, when the I open a blank form first it should check for the any attachment submitted by the user, if available it should bind the attachment back to the File Attachment control. And the big thing is all this has to be done prgorammatically.

My very first question. Is This Possible?

If YES then please help me out !!!!!!!!!!!

Sam
Re: File Attchment
Suri <kreddy.surendra[ at ]gmail.com> 12/5/2008 12:23:14 PM
Hi

Check the given link.....

http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=112
it may usefull to you.

Suri
RE: File Attchment
Swathi (GGK Tech) 12/31/2008 10:38:03 AM
Hi,
First check whether you have the attachment or not in the library. You can
do this using the sharepoint receive data connection. If you have attachment
then get the file name of that attachment and concat that value with the
library path. That should look like
http://<server>/<sitename>/<libraryname>/<fileattachment>. Store this value
in afield (say field1). Place an hyperlink by linking this field. Place this
hyperlink in a section and add conditional formatting as field1 is blank then
hide this control.
Add conditional formatting for attachment control as if field1 is not blank
then hide this control.

--
Swathi Porandla
http://www.ggktech.com



"Samson Louis" wrote:

[Quoted Text]
> Hi,
>
> I have a File Attachment control on my form. I am abel to submit the attachment to the form library and the attachment details to the SQL database.
>
> Now, when the I open a blank form first it should check for the any attachment submitted by the user, if available it should bind the attachment back to the File Attachment control. And the big thing is all this has to be done prgorammatically.
>
> My very first question. Is This Possible?
>
> If YES then please help me out !!!!!!!!!!!
>
> Sam
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net