Solution found, and hence sharing...
In the URL for the application, add the /?mode=CREATE ending. It opens the
form in create mode in a way that is evidently different than the Run Process
command. Odd. Not sure why opening the form in create mode vs. opening in
default/search mode and then invoking create mode vis Run Process is so
different, but it is, try it.
Raymond H. Gellenbeck
Manager | Business
Service Management
Sony Network
Entertainment
From: Ray Gellenbeck raygellenb...@yahoo.com
To: arslist@ARSLIST.ORG
Sent: Tuesday, August 27, 2013 12:03 AM
Subject: Curveball: Attachments on Display-Only Form
Server version 7.6.04 or 8.1.00 (both act the same on this)
Situation: Using a Display Only form as a main push/pull control center for
creating and manipulating records on an underlying table.
Techniques used: hiding or revealing various sections of the form using panels
and Active Links that cascade when focus is set to a main tab. In other words,
when someone hits a button or changes a value and panels need to be hidden or
revealed, the final action in the AL is a Set Fields to set focus to the main
tab, which then fires a cascade of hide/reveal AL's for each panel on the form.
Requirement: Present users with an Attachment pool of 5 fields to allow them
to also add/remove attachments when the form is created or later updated in
this control panel.
Problem: Attachment pool was added and properly configured at the pool and the
individual field levels, but the root problem is that Attachment Pool objects
do not turn on their add/delete buttons when the form is in Query mode, which
is the default mode for a Display Only form when opened.
Problem 2: Using a run process to set the form to create mode ruins the AL
technique described above because all panels being revealed by refreshing the
table/tab results in prompt asking if the current record should be saved.
Question: How to get an Attachment Pool to turn on the default Add/Delete etc
buttons while the Display Only form is in the default query mode.
Disclaimer: Yes, I know I can use Run Process to add/remove attachments using
additional buttons and pop-up windows , but that kinda defeats the purpose of
having an attachment pool on the form and real-estate in that area is tight
enough as is without putting additional buttons besides each attachment field
line.
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Where the Answers Are, and have been for 20 years