Re: only a window of a form
Hi Joe, thanks to your help the problem is solved. Best Regards Daniele ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are
Re: only a window of a form
RIck, thanks for your help problem solved! Daniele ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are
only a window of a form
Hello Listers, when a user open the form A I need to stop the possibility that the user could open a second window of the form A. Does anyone have any thoughts or suggestions? Thanks in advance Best Regards Daniele ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are
Re: only a window of a form
Daniele, You could hide the form from being opened via the form list (Make form permissions Hide). Only allow its opening as a dialog (i.e. a button that fires an Active Link Open Window action). Windows will keep the dialog in front, effectively preventing additional windows from being opened until the dialog is closed. Rick - Original Message - From: Daniele B. from Italy daniele.barsoc...@alice.it Newsgroups: public.remedy.arsystem.general To: arslist@ARSLIST.ORG Sent: Thursday, January 08, 2009 9:17 AM Subject: only a window of a form Hello Listers, when a user open the form A I need to stop the possibility that the user could open a second window of the form A. Does anyone have any thoughts or suggestions? Thanks in advance Best Regards Daniele ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are
Re: only a window of a form
You might create a global integer field that counts the opened instances of the form. On open, if global_field = 1, display an error message and close the window, otherwise increase global_field by 1. On close, decrease global_field. I'm not sure if this works, but it might be worth a try. Regards, Thilo Daniele B. from Italy wrote: Hello Listers, when a user open the form A I need to stop the possibility that the user could open a second window of the form A. Does anyone have any thoughts or suggestions? Thanks in advance Best Regards Daniele ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are
Re: only a window of a form
Create a Global field that sets the opening of that form to some value and check theĀ presense or absence of that value when an attempt is made to open the form. Joe From: Daniele B. from Italy daniele.barsoc...@alice.it To: arslist@ARSLIST.ORG Sent: Thursday, January 8, 2009 12:17:00 PM Subject: only a window of a form Hello Listers, when a user open the form A I needĀ to stop the possibility that the user could open a second window of the form A. Does anyone have any thoughts or suggestions? Thanks in advance Best Regards Daniele ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are
Re: only a window of a form
Daniele, It is hard to know what options you have without knowing what version of AR System your using. However, you might be able to use an Events to do this. On window open you can send an event to all other windows. Send in that event the current form name and Window ID. If there is already a existing window that captures that event and is the same form then it can send a signal back to the newly opened window and tell it to close. (Or you could have the older window close too. Depending on if that is acceptable for your needs.) HTH. -- Carey Matthew Black Remedy Skilled Professional (RSP) ARS = Action Request System(Remedy) Love, then teach Solution = People + Process + Tools Fast, Accurate, Cheap Pick two. On Thu, Jan 8, 2009 at 12:17 PM, Daniele B. from Italy daniele.barsoc...@alice.it wrote: Hello Listers, when a user open the form A I need to stop the possibility that the user could open a second window of the form A. Does anyone have any thoughts or suggestions? Thanks in advance Best Regards Daniele ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are
Re: only a window of a form
Hi Rick, I've just hidden the form from being opened via the form list and unfortunately i can't open as a dialog; I need to open as submit. Other advices? TIA Daniele ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are
Re: only a window of a form
Hi Thilo, I like your idea. I've never create a global_field, can you give me more information about this way? Many thanks Daniele ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are
Re: only a window of a form
In your Open Window action, you can choose the window type from a pull down list. You will also need to add a button to allow the user to Submit the record (disable the Save button). Rick - Original Message - From: Daniele B. from Italy daniele.barsoc...@alice.it Newsgroups: public.remedy.arsystem.general To: arslist@ARSLIST.ORG Sent: Thursday, January 08, 2009 10:06 AM Subject: Re: only a window of a form Hi Rick, I've just hidden the form from being opened via the form list and unfortunately i can't open as a dialog; I need to open as submit. Other advices? TIA Daniele ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are
Re: only a window of a form
Daniele, To create a global field make sure that the field ID of that field is in the range 100 to 199. The Admin tool will warn you that you are using an ID within the reserved range, ignore that warning and go ahead and save the form. Global fields do not save the value to the database and the content is cleared after the user tool is closed. Bearing that in mind if you need to set the field to null after the form is closed, you got to do that using a Set field operation. Cheers Joe From: Daniele B. from Italy daniele.barsoc...@alice.it To: arslist@ARSLIST.ORG Sent: Thursday, January 8, 2009 1:19:44 PM Subject: Re: only a window of a form Hi Thilo, I like your idea. I've never create a global_field, can you give me more information about this way? Many thanks Daniele ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are