RE: [U2] [UV] Paragraph
> Is there a way to read from a file from within a Paragraph ? Jerry's answer is generally easiest: <> or <> ___ Re. Brian's program idea: Good idea for more complicated stuff. You can pass data back to the paragraph via - @USER0 thru @USER4 - @USER.RETURN.CODE - @SYSTEM.RETURN.CODE - in an active select list - numbered 1-10 automatically - select list 0 if the program is catalogued & in VOC with a K in <4>. - You can populate an in-line prompt using the ILPROMPT() basic function. The paragraph calls a program that does: DATA 'whatever' HUSH ON dum = ILPROMPT( '<>' ) HUSH OFF Then <> containing 'whatever' will be available to the PA. ___ Re. VAL=TRANS("FILENAME","RECORDID",FIELDNUMBER,"OPTIONS") : Not immediately useable by a paragraph, but theoretically you could bury it in an EVAL (or I-descriptor) then SELECT some arbitrary record in an arbitrary file for the express purpose of running the I-descriptor & returning its result in the active select list, incidentally setting @SELECTED to 0 or 1 along the way: SELECT VOC SAMPLE 1 _ [ WITH [selection criteria, maybe including an EVAL ] _ RETURNING EVAL "TRANS('FILENAME','RECORDID',FIELDNUMBER,'OPTIONS')" IF @SELECTED > 0 THEN ... The technique might prove useful if the EVALs were more complicated than a simple TRANS(). (VOC & SAMPLE 1 are innocent bystanders used solely to get the query to execute the EVAL.) --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] Paragraph
Oops - never mind -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of gerry-u2ug Sent: December 7, 2007 09:06 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV] Paragraph VAL=TRANS("FILENAME","RECORDID",FIELDNUMBER,"OPTIONS") -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barry Rogen Sent: December 7, 2007 08:04 AM To: u2-users@listserver.u2ug.org 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 u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] Paragraph
THANK YOU 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 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Derek Falkner Sent: Friday, December 07, 2007 9:22 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] [UV] Paragraph Yes, you can use inline prompting to read a record, an attribute, value or sub-value from a file. The syntax is: <> It's been a while since I last used this and who knows what changes have been made since release 7! I don't remember whether the text is required or what it would be used for. The manual says no spaces are allowed. Give it a try. Derek Falkner Kingston, Ontario, Canada On 7-Dec-07, at 8:04 AM, Barry Rogen wrote: > 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 > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ 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 u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] Paragraph
Brian, Thank you much 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 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Phillips Sent: Friday, December 07, 2007 8:58 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV] Paragraph Use an inline prompt: | SYNTAX | | << [control,]... text [, option] >> | |control Specifies the characteristics of the prompt. | Possible control options are as follows: | | F(fn,rn [,fm [,vm [,sm]]]) | Finds the input value from a record (rn) in a file | (fn). You must specify the file and the record. | Separate them with a comma (no spaces allowed). vm | extracts a value, and sm extracts a subvalue from | the field (fm). Separate values with commas (no | spaces allowed). | > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Barry Rogen > Sent: Friday, December 07, 2007 8:04 AM > To: u2-users@listserver.u2ug.org > 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 > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] Paragraph
Jerry, Thank you kindly. 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 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jerry Banker Sent: Friday, December 07, 2007 9:00 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV] Paragraph Use the <<>> syntax. <> Look it up in the online help under <<...>> Jerry Banker Sr Programmer Analyst Affiliated Acceptance Corp Sunrise Beach, MO 1-800-233-8483 www.affiliated.org > -Original Message- > From: Barry Rogen [mailto:[EMAIL PROTECTED] > Sent: Friday, December 07, 2007 7:04 AM > To: u2-users@listserver.u2ug.org > 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 > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] Paragraph
I was going to do something like that. I thought if there was an inline method, it would be more efficient 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 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Leach Sent: Friday, December 07, 2007 8:24 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV] Paragraph 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 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: u2-users@listserver.u2ug.org > 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 > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV] Paragraph
Yes, you can use inline prompting to read a record, an attribute, value or sub-value from a file. The syntax is: <> It's been a while since I last used this and who knows what changes have been made since release 7! I don't remember whether the text is required or what it would be used for. The manual says no spaces are allowed. Give it a try. Derek Falkner Kingston, Ontario, Canada On 7-Dec-07, at 8:04 AM, Barry Rogen wrote: 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 u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] Paragraph
VAL=TRANS("FILENAME","RECORDID",FIELDNUMBER,"OPTIONS") -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barry Rogen Sent: December 7, 2007 08:04 AM To: u2-users@listserver.u2ug.org 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 u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] Paragraph
Use an inline prompt: | SYNTAX | | << [control,]... text [, option] >> | |control Specifies the characteristics of the prompt. | Possible control options are as follows: | | F(fn,rn [,fm [,vm [,sm]]]) | Finds the input value from a record (rn) in a file | (fn). You must specify the file and the record. | Separate them with a comma (no spaces allowed). vm | extracts a value, and sm extracts a subvalue from | the field (fm). Separate values with commas (no | spaces allowed). | > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Barry Rogen > Sent: Friday, December 07, 2007 8:04 AM > To: u2-users@listserver.u2ug.org > 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 > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] Paragraph
Use the <<>> syntax. <> Look it up in the online help under <<...>> Jerry Banker Sr Programmer Analyst Affiliated Acceptance Corp Sunrise Beach, MO 1-800-233-8483 www.affiliated.org > -Original Message- > From: Barry Rogen [mailto:[EMAIL PROTECTED] > Sent: Friday, December 07, 2007 7:04 AM > To: u2-users@listserver.u2ug.org > 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 > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] Paragraph
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 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: u2-users@listserver.u2ug.org > 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 > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/