Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

INSERT/ADD RECARRAY

Status
Not open for further replies.

Alcub77

Programmer
Nov 21, 2018
1
ES
Hi!

Until now I have used the RECARRAY format to read content server objects, but now I need to insert data in a RECARRAY, I have seen that there is the subtag add.

Basically, I need to do the following:

1. LOOP FOR

FOR

RECARRAY add values in the different header fields

ENFOR



2. OUT OF THE FOR(RUN SUBWEBREPORT AND RECARRAY ADD)

RUNSWR AND RECARRAY ADD



3. SORT RECARRAY

[LL_REPTAG_!RECA RECARRAY:SORT:"ADNID" /]

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

My main doubt is when inserting or adding values in the RECARRAY, I have tried something similar to what here below, but without success.

[LL_REPTAG_'865210' setvar:DataId /]
[LL_REPTAG_'test.pdf' setvar:NAME /]
[LL_REPTAG_'0000000001-00001 ' setvar:ADN /]


[LL_REPTAG_"V{<'DOCID','DOCNAME','ADNID'>}"ADD:"V{<'DOCID','DOCNAME','ADNID''><'[LL_REPTAG_!DataId /]','[LL_REPTAG_!NAME /]','[LL_REPTAG_!ADN /]'>}" /]

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I'd appreciate some help.
Thanks.
 
you can use OScript in a WebReport, if enabled, or a custom Sub Tag to do this, I'll check if its possible with plain WR tags.

Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005 & 2006
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top