I wouldn't use it except in the case of SUBR(...) type dictionaries.
Then it's the main record being accessed in the query so you don't
need to open the file and read the record. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Barry Brevik
Sent: Monday, June 13, 2005 7:17 PM
To: U2-users (E-mail)
Subject: [U2] [UV] Help with @RECORD

UV 9.6.1.3 on W2K.

What's the right way to use @RECORD? I can do-

  OPEN '','A-VALID-FILENAME' THEN NULL

...after which @STDFIL is populated with the file handle.

Then, I can do-

  READ @RECORD FROM 'RECORD-ID' THEN NULL

...after which @RECORD is a dynamic array of whatever corresponds to
'RECORD-ID' in 'A-VALID-FILENAME'.

But having to directly reference @RECORD seems like it defeats the
purpose of a 'default record'. Is there a RIGHT way to populate
@RECORD? I've tried a number of ideas that did not work. It would also
be cool if you could get
TRANS() to populate @RECORD, but it does not seem to.

Barry
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.9 - Release Date: 6/11/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.9 - Release Date: 6/11/2005
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to