complicated Method construction
Bart Pietercil
bart.pietercil at gmail.com
Thu Mar 1 14:58:10 CST 2007
On 1-mrt-07, at 21:08, Ruslan Zasukhin wrote:
> On 1/3/07 10:03 PM, "Bart Pietercil" <bart.pietercil at gmail.com> wrote:
>
>> Hi List,
>>
>>
>> I have a table 'cells' with this structure:
>>
>>
>> CREATE TABLE "cells" (
>> "tree_ptr" OBJECTPTR CONSTRAINT tree_to_cell REFERENCES "trees" ON
>> DELETE CASCADE NOT NULL INDEXED,
>> "parent_ptr" OBJECTPTR CONSTRAINT cellparent_to_cellchild REFERENCES
>> "cells" ON DELETE CASCADE NOT NULL INDEXED,
>> "cell_descr" VARCHAR (1022) NOT NULL INDEXED,
>> "cell_name" VARCHAR (255) NOT NULL INDEXED,
>> "cell_levelindicator" VARCHAR (2044) NOT NULL INDEXED);
>>
>> Now I would like to be cell_levelindicator a method.
>>
>> This method would need to be:
>>
>> cell_levelindicator = concat(parent_prt->cell_levelindicator ,
>> "_" ,recid)
>>
>> Is this possible in a method ?
>
> I wonder, why not just to try? :)
Because I thought it up while writing the mail, and since I'm just
designing the table there is not yet any data in it :-)
THis is the way to go then ?
Bart
More information about the Valentina
mailing list