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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Stack" several functions into the same cell?

Status
Not open for further replies.

roberthagan

Technical User
May 9, 2006
27
US
I have a detail section where a contact is evaluated for several types of time "compliance," e.g if this is the first attempt at contact was it done within 3 business days of a referral date. If it is after the referal month, was the client seen during the month, if not why not, etc.

I'm converting this report from Crystal. In that I broke these measures into several functions. The functions contained counters and a display message to the end user telling them which if any type of compliance standard was met. I "piled" these functions on top of one another on the detail row, so the condition that was met showed its display message. Can this be done in RS?

(I could also build one display function and pass in values from the other functions to tell it which message to display) Preferable?
 
not sure what you mean by "piled" but you can use a nested IIF statement or you can concatenate strings (ie different results) with & or +....

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
Hi I think you pretty much answered my quetion.

By "stacked"/"piled" I meant that in Crystal it is possible to lay/overlay serveral functions over one another,

Code:
                     cell_1    cell_2    cell_3  cell_4
contact detail line: date,     type      status  functions

so that cell4 could contain several functions that evaluated the other cells, and showed different displays.
I assume that is impossible, at lest in a table layout.
 
Did you try writing written your "Stacked" code in the Report Properties, Code tab and then call then procedure?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top