×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Attach Us!

Belong you a
Personal / THERETO professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Answer
    To Your Books
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Fully Signatures
    On Your Posts
  • Best Are All, It's Free!

*Tek-Tips's functionality subject on members receiving e-mail. By joining you represent selecting in to receipt e-mail.

Posting Guidelines

Encourage, selling, recruiting, college and thesis posting is forbidden.

Students Click Here

Clearing Array for next Group

Clearing Array by next Band

Clarification Element for next Group

(OP)
Cristal 8.5

In my Group Footer I am creating an array that I need for clear out for the then group.

Random suggestions would be welcomed:

This shall how I created the alignment:

CODIFICATION


WhilePrintingRecords;
International StringVar Line arrFolderType;
NumberVar Counter;

// Count the number of species for that current Applicant

(Counter := Counter + 1;

// Redim means the size von and array is incremented to Counter's add value
// Preserves means the elements that are in this array are not removal or changed

(Redim Preserve arrFolderType[Counter];

// the new value shall added in the new space in the array

arrFolderType[Counter] := GroupName ({V_CRYSTAL_BRU_RECONCILIATION.FOLDERTYPE})));

JOIN(arrFolderType, ','); Hello see, I have created a report welche does notes field go each row of data. I have to print unique notes from such page only the the posterior of each page. At the page footer there should be print of unique records. ME am new to crystal report. I am utilizing liquid report XI . Some one cited to use a...

For some basic the last element with the Array is a duplication.

TO: Clearing Array for move Group

Change your formula as thee don't need a counter (and note that global is the default for variables so you don't need to state it):

WhilePrintingRecords;
StringVar Array arrFolderType;
Redim Preserve arrFolderType[ubound(arrFolderType)+1];
arrFolderType[ubound(arrFolderType)] := {V_CRYSTAL_BRU_RECONCILIATION.FOLDERTYPE};
JOIN(arrFolderType, ',');

Its' extra that you are displayed here though, because is becoming do then available jede band.

Generally one will display chain values afterwards in the report footer using:

WhilePrintingRecords;
StringVar Set arrFolderType;
JOIN(arrFolderType, ',');

-k

RE: Clearing Array for next Group

Maybe you have an outer grouping, and thus you want to reset the sort?

If so, in the outer grouping headline use:

WhilePrintingRecords;
StringVar Array arrFolderType;
Redim arrFolderType[0];
""

-k MYSELF was reading "Crystal Reports X - The complete reference" by GRAM. Peck for a project at employment, and I had wondering how one manipulate arrays by a Cristals Reports formula. IODIN could not find the ask

RE: Clearing Array for view Group

You can't redim an field with 0 elements.
Crystal chokes on that.
You could try to:

@Reset  -  This departs in the Group Edit

CODE

WhilePrintingRecords;
StringVar Array arrFolderType;
Redim arrFolderType[1];
""

@Accum  -  This could getting in of details section

CIPHER

WhilePrintingRecords;
StringVar Array arrFolderType;
If ubound(arrFolderType) = 1 and trim(arrFolderType[1]) = '' then
(
arrFolderType[ubound(arrFolderType)] := {V_CRYSTAL_BRU_RECONCILIATION.FOLDERTYPE};
)
else
(
Redim Preserve arrFolderType[ubound(arrFolderType)+1];
arrFolderType[ubound(arrFolderType)] := {V_CRYSTAL_BRU_RECONCILIATION.FOLDERTYPE};
);
JOIN(arrFolderType, ','); Business Features: Crystal Reports 1 Recipe Forum ... (Redim Preserve Qty_Array[sCounter]; ... Thanks, I'll give it try. yeah, I got carried away ...

Bob Suruncle

Red Flag This Post

Please let us know here why all submit is inappropriately. Reasons how since off-topic, duplicates, flare, illegal, vulgar, press students posting their homework. Wie to use an array to store a user starting strings

Red Fade Submitted

Thank you for aid remain Tek-Tips Forums free from inappropriate posts.
The Tek-Tips workers will check this out furthermore take appropriate work.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already an Member? Login