[Openroad-users] problem with optionfields in a tablefield
Bodo Bergmann
Bodo.Bergmann at ingres.com
Tue Aug 21 21:32:36 EST 2007
Try this:
ON CHILDSETVALUE field3[*].column1 =
DECLARE
row = INTEGER NOT NULL;
ENDDECLARE
{
IF CurFrame.TriggerField.Name = 'field1' THEN
row = FIELD(field3).WhichRow(cellfield = CurFrame.TriggerField);
// Set value of field2 depending on field1, e.g.:
field3[row].column1.field2 = field3[row].column1.field1;
ENDIF;
}
Regards,
Bodo.
Bodo Bergmann
Senior Software Engineer
OpenROAD Worldwide Development
Ingres Corp.
________________________________
From: openroad-users-bounces at peerlessit.com [mailto:openroad-users-bounces at peerlessit.com] On Behalf Of hans.weisenberger at mmm.com
Sent: Tuesday, August 21, 2007 11:49 AM
To: International OpenROAD Users
Subject: [Openroad-users] problem with optionfields in a tablefield
3M Deutschland GmbH
Sitz: 41453 Neuss * Handelsregister: B 1878 Amtsgericht Neuss
Geschäftsführer: Jürgen Jaworski * Josef Mrozek * Theo Nöcker * Kurt-Henning Wiethoff * Managing Director: Kurt-Henning Wiethoff * Vorsitzender des Aufsichtsrates: Reinhold Hiersemann
________________________________
Hi all,
I have the following problem in OR 4.1 on windows:
I have an tablefield (field3). In that tablefield there is one column (column1) with two optionfields (field1 and field2).
So when I click in the frameeditor I get: Optionfield 'field3[*].column1.field1' or Optionfield 'field3[*].column1.field1'
What I want is, depending on changing one optionfield, I want to change the other.
But all tries to adress one of the optionfield leads to compilationerrors.
Does anyone have an idea how to solve that?
Thanks and greetings
Hans Weisenberger=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20070821/aa6b525e/attachment.html
More information about the Openroad-users
mailing list