RECORD OF * EXISTS
stewm@canada.com
stewm@canada.com
Fri, 24 Jan 2003 08:37:32 -0800 (PST)
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