Subject | Get the value of a field in a relation using a dynanic constructed field name |
---|---|
Author | Hans |
Post date | 2010-10-25T16:58:05Z |
Hi All,
Using FB2.5.0
If it possible to get the value of a field in a relation using a dynanic
constructed field name
In a before delete trigger I wish to construct a FieldName like
Declare Variable FieldName Varchar(93)
Declare Variable FieldValue Varchar(32)
FieldName = 'Old.' || MyField;
FieldValue = *FieldName; -- The Contents if the Field FieldName
I tried to play with Execute Statement variations, but have had no luck yet
Best Regards
Hans
Using FB2.5.0
If it possible to get the value of a field in a relation using a dynanic
constructed field name
In a before delete trigger I wish to construct a FieldName like
Declare Variable FieldName Varchar(93)
Declare Variable FieldValue Varchar(32)
FieldName = 'Old.' || MyField;
FieldValue = *FieldName; -- The Contents if the Field FieldName
I tried to play with Execute Statement variations, but have had no luck yet
Best Regards
Hans