PDA

View Full Version : Print boilerplate text when rows returned > 3


Chris E
09-08-2003, 12:19 PM
Hi,
I need boiler plate text to print when the rows returned from either
one of my 2 repeating groups is > 3. Both repeating groups are
filtered to return only the first three rows. When either repeating
group row count is > than 3 my boilerplate should print. How is this
best done?

Both repeating groups are using the same table, looking for different
data.
I'm using reports 6i. Maybe I'm doing this all wrong?

Frans H.
09-09-2003, 01:03 AM
chrischaisson@hotmail.com (Chris E) wrote in message news:<b1c2e7fa.0309081219.10923fac@posting.google.com>... Hi, I need boiler plate text to print when the rows returned from either one of my 2 repeating groups is > 3. Both repeating groups are filtered to return only the first three rows. When either repeating group row count is > than 3 my boilerplate should print. How is this best done? Both repeating groups are using the same table, looking for different data. I'm using reports 6i. Maybe I'm doing this all wrong?

Chris,
you will probably need a format-trigger. Create the boilerplate text
en attach a format trigger to it. In the format trigger you can
perform the queries and see how many records they return. Depending on
the number of records you can let the trigger return TRUE (show the
text) or FALSE (don't show the text).

hth,
Frans H.


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service