Subject Re: [IBO] Tutorial problem
Author Jörg Schiemann
I think you're referring to ...\IBObjects\Tutorials\BasicTutorials\Tutorial1

if you change the fourth line in scrMain 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.

Jörg

----- Original Message -----
From: <wes@...>
To: <IBObjects@egroups.com>
Sent: Saturday, December 09, 2000 5:51 PM
Subject: [IBO] Tutorial problem


> I'm trying to work through the IBO tutorials to get up to speed with
> IBO, but have encountered a "show stopper" with Tutorial 1:
>
> Running the tutorial produces the following error:
>
> 335544321
> arithmetic exception, numeric overflow, or string truncation
>
> The database is created, but none of the data rows are inserted. This
> makes if difficult to work with the subsequent tutorials.
>
> Details:
>
> IBO 3.6.Bf
> Delphi 5
> IB 6.01
> Windows 98
>
> -----------------------------
>
> Wes Peterson
> LexCraft Data Services
> 916.944.4870
> http://www.lexcraft.com
> wes@...
>
>
>
>
>