ChangeType crash

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Jul 13 19:13:44 CDT 2004


On 7/13/04 5:27 PM, "Francois Van Lerberghe" <fvanlerberghe at freegates.be>
wrote:

Hi Francois, 

> I have a crash when I try to do a ChangeType using V4RB 1.10 from a Vboolean
> field to a Vbyte field.
> 
> My code is :
> 
>   table = db.BaseObject( "Données" )
>   fld = table.Field("myField")
>   if fld <> nil then
>     fld = table.ChangeType(fld, kV_TypeByte, 0) <<<< crash
>   end if
> 
> Trying to do it in Vapp, I have a -39 error. Only with this VBoolean field.
> I can change other field without problem.
> 
> I have tried with other database (other data, same structure) and I have
> still this error.
> 
> The diagnose doesn't show any error except a minor one on a VText field.
> 
> What's happening ?

Db is not encrypted ?

What show diagnose ?

Other Boolean fields can be converted ?
If yes, then may be corruption in that field.



-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list