Re: OPO changing repeater list box dynamically

From: Mike Kranzdorf <mikek_at_krt.com>
Date: 1996/06/12
Message-ID: <mikek-1206960822340001_at_pdl-ts1-40.jvnc.net>#1/1


In article <31BE38AF.5308_at_earthlink.net>, Jason Byors <jbyors_at_earthlink.net> wrote:

> Can the translation property for a list box IN A REPEATER DISPLAY be
> changed dynamically? When I try to do it, I keep getting the
> following error: "Repeater contral can be used only in aggregation
> function." What is an aggregation function?

Two issues:

  1. You can't talk to a control in a repeater from outside the repeater other than asking for an "aggregate" of an entire column such as the sum or average. You can talk to the control from inside itself (i.e. in a method you can say self.translation = "foo = 1") or even from inside another control in the repeater. There are tricks for getting around some of the problems, see www.krt.com/mac/opofaq.html for more info.
  2. The translation property for a control in a repeater applies to the entire repeater, not just the row you're in. So if you want a different list for each row based on some value, you're SOL.
Mike Kranzdorf              mikek_at_krt.com
Kranzco Realty Trust        http://www.krt.com
Oracle Power Objects FAQ http://www.krt.com/mac/opofaq.html Received on Wed Jun 12 1996 - 00:00:00 CEST

Original text of this message