Subject Re: [IBO] IBO's basic tutorials
Author Jörg Schiemann
I've changed T_CODE like you said and it works now.
Thanks Svein, that you took the time to investigate.

Jörg Schiemann

----- Original Message -----
From: "Svein Erling Tysvær" <svein.erling.tysvaer@...>
To: <IBObjects@egroups.com>
Sent: Friday, December 01, 2000 3:06 PM
Subject: Re: [IBO] IBO's basic tutorials


Jörg,

if you change the fourth line from
CREATE DOMAIN T_CODE AS VARCHAR(20) NOT NULL;
to
CREATE DOMAIN T_CODE AS VARCHAR(30) NOT NULL;
the tutorial will work.

For some reason IB6 insists to add '.0000000000' to all calculations of
barcode when using

( :P_BAR_PREFIX || ( :P_CATEGORY_ID * ( 100000 + :i ) + :i * 10000 + :i *
10 + :P_CATEGORY_ID ) ),

in the SP_GEN_DUMMY_ITEM procedure. I haven't got a clue why why it
transforms integers this way, but Jason or Helen might know. To me it seems
like an IB6 bug.