Barry
You could write a very short program to do it, then execute that.
Write the record and a return value to an @variable, something like...
PROGRAM READFILE
Get(Arg.) FileName Else STOP
Get(Arg.) ItemName Else STOP
Get(Arg.) FieldNo Else FieldNo = 0
@USER0 = ""
@SYSTEM.RETURN.CODE = @False
Open FileName To FL Then
Read Rec From FL, ItemName Then
IF FieldNo Then
@USER0 = Rec<FieldNo>
End Else
@USER0 = Rec
End
@SYSTEM.RETURN.CODE = @True
End
End
STOP
Not sure why you would need to, though?
Brian
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Barry Rogen
> Sent: 07 December 2007 13:04
> To: [email protected]
> Subject: [U2] [UV] Paragraph
>
> Is there a way to read from a file from within a Paragraph ?
> I know
> you could do it from the old Procs, but unfortunately I need
> to execute this from Paragraphs.
>
> Barry Rogen
> PNY Technologies, Inc.
> Senior Programmer/Analyst
> (973) 515 - 9700 ext 5327
> [EMAIL PROTECTED]
>
> -----------------------------------------------------
> Far better it is to dare mighty things, to win glorious
> triumphs even though checkered by failure, than to rank with
> those poor spirits who neither enjoy nor suffer much because
> they live in the gray twilight that knows neither victory
> nor defeat. t. roosevelt
> ----------------------------------------------------------------
>
>
>
>
> 7/12/2007NOT INTENDED AS A SUBSTITUTE FOR A WRITING
>
> NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF WHICH IT MAY
> BE A PART, OR IN ANY ATTACHMENTS THERETO, SHALL CONSTITUTE A
> BINDING CONTRACT, OR ANY CONTRACTUAL OBLIGATION BY PNY, OR
> ANY INTENT TO ENTER INTO ANY BINDING OBLIGATIONS,
> NOTWITHSTANDING ANY ENACTMENT OF THE UNIFORM ELECTRONIC
> TRANSACTIONS ACT, THE FEDERAL E-SIGN ACT, OR ANY OTHER STATE
> OR FEDERAL LAW OF SIMILAR SUBSTANCE OR EFFECT. THIS EMAIL
> MESSAGE, ITS CONTENTS AND ATTACHMENTS ARE NOT INTENDED TO
> REPRESENT AN OFFER OR ACCEPTANCE OF AN OFFER TO ENTER INTO A
> CONTRACT. NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF
> WHICH IT MAY BE A PART, OR IN ANY ATTACHMENTS THERETO SHALL
> ALTER THIS DISCLAIMER.
>
> This e-mail message from PNY Technologies, Inc. is for the
> sole use of the intended recipient(s) and may contain
> confidential and privileged information.
> Any unauthorized review, use, disclosure or distribution is
> prohibited. If you are not the intended recipient, please
> contact the sender by reply e-mail and destroy all copies of
> the original message.
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/