LJ, log trace is not helping. There are no active links clearing the fields.
I have found absolutely no way to have active links (Win Open, Win Loaded) read values passed to a window, if the window was **opened by a macro**!! All fields appear blank to these active links, although, when the window fully opens, all the values are right there for me to see! It appears that when a macro opens a window, there is something funky (I say bug) which makes the field values load *after* the Window Loaded event has completed. :( I tried opening the same window with code (open win action) and passed values; these values are correctly seen by the active links on that form. I tried playing with different window modes no luck. I need to trigger code before the window fully opens, based on value received by the window from the macro. Can't be done??? --- On Thu, 4/22/10, LJ LongWing <[email protected]> wrote: > From: LJ LongWing <[email protected]> > Subject: Re: On "Window Loaded" active link doesn't see field values??? > To: [email protected] > Date: Thursday, April 22, 2010, 1:51 PM > Rabi, > I recommend having AL Logging turned on and see if the > field is being set > some time after the AL you are looking at....happens to me > all the time...I > have AL1 set to fire if value = X, but AL2 fires at a later > execution order > setting the field... > > -----Original Message----- > From: Action Request System discussion list(ARSList) > [mailto:[email protected]] > On Behalf Of Rabi Tripathi > Sent: Thursday, April 22, 2010 11:19 AM > To: [email protected] > Subject: On "Window Loaded" active link doesn't see field > values??? > > I have an active link firing on "Window Loaded". It sees a > field as having > no value when it fires. That makes me not happy, because > the value is there > or should be there. > > The submit window is opened by a macro with a parameter, > and the macro is > correctly populating the parameter value on the field. I > can see it when the > window is fully open (meaning active links have all > completed firing). > > When a submit window opens, my understanding is that by the > time "Window > Loaded" event occurs, all field values (set by "set to > default" feature, > sent with a macro etc) should already be there on the > fields, such that on > Window Loaded active links should see the values. > > Why is my active link not seeing the field value? I put a > debug message, and > yes, the field is blank when the active links fires. But > the value gets to > the field, when the window has opened fully. > > ???? > > ARS 6.3. > > from the doc: > Window Loaded Executes after all the data values have been > loaded into a > Submit or Search window (from defaults, from a copy to > new, > or from an open window action). > > > > > ____________________________________________________________________________ > ___ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > attend wwrug10 www.wwrug.com ARSlist: "Where the Answers > Are" > > _______________________________________________________________________________ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > attend wwrug10 www.wwrug.com ARSlist: "Where the Answers > Are" > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

