AW: CHOOSE and SELECT in QTP

Bourchi, H. bourchih@unive.nl
Thu, 25 Jan 2001 17:17:01 +0100


Chris,

Your gueses are correct. Its a RMS file type and key I am using is a UNIQUE
ALTERNATE key. 
I am still testing some other possibilliy with CHOOSE construction, like
what you suggested.
and reversing the place of B@@ in CASE function.
I consider conditional EXECUTE and conditional compilation as very
interesting options, but i would rather to make CHOOSE statement works. I am
stil testing ...

Regards,
Hamid Bourchi

> ----------
> Van: 	Chris Sharman[SMTP:Chris.Sharman@ccagroup.co.uk]
> Verzonden: 	donderdag 25 januari 2001 16:45
> Aan: 	bourchih@unive.nl
> CC: 	powerh-l@sphere.swau.edu; Chris.Sharman@ccagroup.co.uk
> Onderwerp: 	Re: CHOOSE and SELECT in QTP
> 
> 
> The other possibility is that:
> >choose product_item (case of product_choice        &
> >               when "A" : "A@"                &
> >               when "L" :  "B@@")
> 
> is significantly slower than 'choose product_item "B@@"' - might be worth
> checking.
> 
> Other techniques might be a global temp as suggested, or conditional
> compilation (works for Quiz too), to use the best code for the parameter.
> 
> Chris
> _______________________________________________________________________
> Chris.Sharman@CCAgroup.co.uk		http://www.ccagroup.co.uk/
> CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
> 
> 
> -----------------------------------------------------------------------
> 
> Any views expressed in this message are those of the sender and not
> necessarily those of CCA Group.  The unauthorized use, disclosure,
> copying or alteration of this message is forbidden.  The contents of
> this message may be confidential and/or privileged, copyright CCA Group
> and are intended solely for the use of the individual or entity to whom
> they are addressed.  Whilst this message has been scanned, CCA Group
> cannot guarantee that it is virus free or compatible with your systems
> and accepts no responsibility for any loss or damage arising from its
> use. The recipient is advised to run their own anti-virus software. If
> you receive this message in error please contact
> postmaster@ccagroup.co.uk immediately, destroy any copies and delete it
> from your computer systems.
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> =
> Subscribe: "subscribe powerh-l" in message body to
> majordomo@lists.swau.edu
> Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
> This list is closed, thus to post to the list, you must be a subscriber.
> 
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.