Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Attachment button in a form

Status
Not open for further replies.

barsa

MIS
Dec 20, 1999
11
US
How is it possible to create a button within a form that when pressed, the file window appears where you can select a file to be attached?<br>
<br>
I have a button that performs <br>
@PostedCommand([EditRight];&quot;1&quot;)<br>
@PostedCommand([EditInsertFileAttachment])<br>
(There is a Rich Text field to the right of the button.)<br>
<br>
However, an error appears stating &quot;Cannot perform the specified command.&quot;<br>
Interestingly enough, the attachment &quot;paper clip&quot; above on the menu bar returns the same error.<br>
<br>
Any help would be appreciated.<br>

 
button must be perform:<br>
@Command([EditDocument]);<br>
@Command([EditGotoField];"MainText");<br>
@Command([EditInsertFileAttachment])
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top