Putting a pause in Quick
Whittall, Conrad
Conrad.Whittall at Cognos.COM
Mon Jun 20 17:32:14 CDT 2005
You could try adding an INFORMATION...NOW RESPONSE to an appropriate
point in your QUICK screen's UPDATE procedure (generated from the
default with a BUILD LIST DETAIL if you haven't already coded your
own...and who would???).
Run the screen, enter a new record (or find an existing one and change
it) then enter an update command (U, US, whatever). This will cause
QUICK to start executing the UPDATE procedure (lock files, put records,
etc.) but stop when it reaches the INFO verb, display the message you
specified and prompt you to press <Return> to continue. At this point
your files are locked and if you now run your QTP thats what it should
see.
And, as I see others have suggested, you could probably accomplish
similar results by compiling your screen with debug and running QUICK in
debug mode, then setting a breakpoint on the UPDATE procedure. When you
run the screen and QUICK reaches the UPDATE procedure you can then step
through the verbs in the UPDATE procedure and simply leave it "paused"
at the most appropriate point while you then run your QTP.
Best regards,
Conrad
Conrad Whittall
Senior Solutions Architect, Global Customer Services, Cognos
Incorporated
3755 Riverside Drive, Ottawa, Ontario, K1G 4K9, Canada
________________________________
From: powerh-l-bounces+conrad.whittall=cognos.com at lists.sowder.com
[mailto:powerh-l-bounces+conrad.whittall=cognos.com at lists.sowder.com] On
Behalf Of Mary McNairney
Sent: Monday 20 June 2005 18:05
To: powerh-l at lists.sowder.com
Subject: Putting a pause in Quick
Hi,
I am trying to test the locking of a Quick screen. Does anyone know how
I can put a pause in the screen to lock it for long enough for my qtp
process to find it is locked? I have tried doing multiple FOR loops with
the inner loop actually updating a file, but it still runs too fast.
Mary.
________________________________
This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you.
Cognos Forum
Our Annual Customer Conference
Orlando, June 26-29, 2005
Best Practices. Tips and Techniques. Expert Advice.
Get more from your Cognos investment.
Register today at www.cognos.com/cognosforum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20050620/f0ba3241/attachment.htm
More information about the powerh-l
mailing list