Mark,

Just looking through the 7.1 documentation, it says that if you specify the
attachment pool's ID instead of the attachment field's ID, the add
attachment process will add the attachment to the fist available/empty
attachment field.

I'm not sure if this applies to other versions though...

Ron Gehring

-----Original Message-----
From: Mark Milke [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 18, 2008 4:47 AM
To: [email protected]
Subject: How to find the ID of an Attachment field?

Hi Listers,

the PERFORM-ACTION-ADD-ATTACHMENT call requires the <field id> of the
attachment field.

In effort to build kind of a read only attachment field I took over
the control by adding dedicated buttons for Adding, Deleting and
Displaying attachments.

Having >1 attachment field in an attachment pool I need to figure out
the id of the attachment field however, otherwise I will always add/
replace the attachment of the first attachment field.

How do I get the ID of an the currently focused Attachment field?


Thanks,
Mark

____________________________________________________________________________
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to