Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / January 2006

Tip: Looking for answers? Try searching our database.

Making File Attachment control Readonly

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
chrisp - 24 Jan 2006 14:48 GMT
Hello All,

Is it possible to make the file attachment control in InfoPath
readonly? I am able to disable the control but, that makes the
attachment unreadable. My objective is to make the control modifiable
for the first user and make it readonly for everybody else.

Any thoughts or suggestions would be really helpful. Thanks in advance
for all the help.

-Chris
Kalyan Reddy - 24 Jan 2006 17:51 GMT
Hi Chris,

Try this workaround

1. Insert Two File attachment controls binded to a same field so that they
store the same attachment
2. Also insert a text box below
3. In the first attachment control, Check the check box “Allow the user to
browse, delete and replace files”.
4. Add a conditional formatting to hide this Control when the “text box is
not blank”
5. In the Second attachment control, Uncheck the check box “Allow the user
to browse, delete and replace files”
6. Add a conditional formatting to hide this Control when the “text box is
blank”
7. Now Preview the form and Insert an attachment (Second Control will be
hiding as long as the text box is Blank)
8. Enter some text in the text box
9. Now the second control is shown and it is Read only as per step 5 (First
Control is Hiding  when the text box is not blank)

Hope this helps you.

Signature

Kalyan Reddy
Visit www.autonomysystems.com

> Hello All,
>
[quoted text clipped - 7 lines]
>
> -Chris
chrisp - 24 Jan 2006 19:18 GMT
Kalyan,

Thanks so much - that sure seems to do the job!

-Chris

> Hi Chris,
>
[quoted text clipped - 34 lines]
> >
> > -Chris
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.