Re: OPO: classes and repeaters

From: Peter Yamamoto <pjyamamo_at_daisy.uwaterloo.ca>
Date: 1996/03/28
Message-ID: <Dp000p.M3C_at_watdragon.uwaterloo.ca>#1/1


Hi!

> Does anyone know how to use a value-containing class in a repeater? Say I
> have a class that contains a text field that has some validate code or
> something similar that I want to reuse. If I put that class on a form, I
> can point the recordsource to that of the form, and all is fine. However,
> if I put the class in a repeater and point the recordsource to the same as
> the repeater, only the first row gets a value. I have tried several
> permutations of master/detail settings with no success.

I thought I saw a mention of a work around for this but can't seem to find it.

I was trying the mailing label repeater form, but I wanted to get the data on the repeater via embedded forms (At least for now).

However, if I embed a form in a repeater, I only get values for the first row.

Eg, I have a relation which keeps track of label printing (records are marked for printing [and why] during the week until enough to warrant actually printing and sending packages off) so it has a person_id and an address_id (plus other stuff). The repeater repeats these records fine, but the embedded form only works for the first record).

Sound familiar?
Am I missing something, or is this a bug (any workarounds)?

Thanks in advance,
Peter

-- 
Peter Yamamoto                     CS   Phone: +1 519-888-4567 x3299
University of Waterloo             MFCF Phone: +1 519-888-4567 x6488
Waterloo, Ontario, Canada N2L 3G1  Home Phone: +1 519-747-5318
Email: PJYamamoto_at_UWaterloo.CA     URL: http://daisy.uwaterloo.ca/~pjyamamo/
Received on Thu Mar 28 1996 - 00:00:00 CET

Original text of this message