RECORD OF * EXISTS
Mike Palandri
palandri@4j.lane.edu
Fri, 24 Jan 2003 08:04:43 -0800
I have used "exists" to test for the presence of a record that was linked
optionally, in quiz or qtp, e.g.:
access filea link to fileb opt
def msg char*30 = "match found" if record fileb exists &
else "no matching fileb record found"
If in Quick, I generally end up with something like this, using your example:
>FIELD T_ITEM_ABC
>
> PROCEDURE DESIGNER RECOFWHAT
> BEGIN
> ACCEPT T_ITEM_ABC
> GET FILE_ABC VIA ITEM_ABC USING T_ITEM
> IF ACCESSOK
> THEN INFO "Found the file." NOW RESP
> END
At 07:53 AM 01/24/2003 -0800, you wrote:
>Can some tell him what it takes for this condition to
>false? In the following piece of source the message
>'Found the file.' always comes up no matter what you
>enter for T_ITEM_ABC.
>
>What is RECORD OF <> EXISTS for in QUICK? It does not
>appear to have the same functionality as similiar code
>in QTP.
>
>FIELD T_ITEM_ABC
>
> PROCEDURE DESIGNER RECOFWHAT
> BEGIN
> ACCEPT T_ITEM_ABC
> GET FILE_ABC VIA ITEM_ABC USING T_ITEM_ABC OPT
> IF RECORD OF FILE_ABC EXISTS
> THEN INFO "Found the file." NOW RESP
> END
>
>Thanks
>
>Mark Stewart
>
>Consultants Club Corp.
>__________________________________________________________
>Get your FREE personalized e-mail at http://www.canada.com
>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>Mailing list: powerh-l@lists.swau.edu
>Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
>Unsubscribe: "unsubscribe" in message body to powerh-l-request@lists.swau.edu
>http://lists.swau.edu/mailman/listinfo/powerh-l
>This list is closed, thus to post to the list you must be a subscriber.
Mike
.