RECORD OF * EXISTS

Rohde Dirk Dirk.Rohde@vpgroup.com
Fri, 24 Jan 2003 08:50:00 -0800


What you probably want to do is, right after the access of the previous
GET/OPT, do your "if accessok" and set a flag accordingly. You can then use
that flag anywhere down the line.

Dirk Rohde
VantagePoint Systems Inc.

-----Original Message-----
From: stewm@canada.com [mailto:stewm@canada.com]
Sent: Friday, January 24, 2003 8:38 AM
To: powerh-l@lists.swau.edu
Subject: RE: RECORD OF * EXISTS


Thanks for that new documentation.  I was trying to
emulate IF ACCESSOK and at the same time try to specify
which file I wanted to check against.  As you know the
IF ACCESSOK applies to the last GET/OPT.  I wanted to
check the access on a previous GET/OPT.

Mark

Two syntax issues in one day! This one's really cute.
Although the words are
the same, the meaning is totally different. In QDESIGN,
RECORD is short for
RECORDLOCATION which takes "OF file" as an argument.
Note that in QUIZ/QTP,
there is no OF so the syntax is not quite the same. Now
the EXISTS is the
equivalent of saying NOT NULL, as in a relational NULL.
So the full syntax
would be 

IF RECORDLOCATION OF FILE_ABC EXISTS

or

IF RECORDLOCATION  OF FILE_ABC NOT NULL

In QDESIGN, the equivalent of IF RECORD file EXISTS is
IF ACCESSOK.

Bob Deskin              
PowerHouse Web Product Manager, Application Development
Tools, Cognos Inc.
bob.deskin@cognos.com (613) 738-1338 ext 7268 FAX:
(613) 727-1178
3755 Riverside Drive P.O. Box 9707 Stn. T, Ottawa ON
K1G 4K9 CANADA

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.