ChangeType crash

Francois Van Lerberghe fvanlerberghe at freegates.be
Tue Jul 13 16:27:26 CDT 2004


Hello Ruslan,

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 ?

Thank you.

François Van Lerberghe
Rue Thier Monty, 15 A
4570 Marchin
Belgique



More information about the Valentina mailing list