[V4MD] a couple of problems

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Jun 27 23:31:14 CDT 2005


On 6/27/05 12:04 PM, "Erich Geiersberger" <erichg at mcmm.com> wrote:

Hi Erich,

>> Let you do query:
>>    
>>     SELECT fldPicture FROM T
>> 
>> Now you have cursor. To see if current record have picture you can do
>> 
>>    if curs.Field("fldPicture").IsNull()
>>        -- there is no picture
>>    else
>>        -- we have picture so we read it
>>        curs.Field("fldPicture").GetPicture()
>>    end if
>> 
>> 
>> So NULL - means the VALUE NULL of database
>> You it seems expect NULL for object reference.
>> These are different things.
> 
> 
> IsNull() does not help.  It returns true in version 1.11 even if
> there is a picture in the database.

Hmm. Should work
 
> I also didn't find a method to delete a picture.
> setPicture(myCursor, myPictureField, void)?
> setNull(myCursor, myPictureField)?
> 
> (Director 8.5.1, OS 9.2, V4MD 1.11)



> And the version 2 picture example seems to be broken, too.
> Just try your example. If I add and delete a picture, then delete the
> database start the movie and stop it again it suddenly crashes after
> the second or third try.
> (Director MX, OSX 10.2.8, V4MD_Carbon 2.0.3)
> OK, this one seems to be fixed with the current Beta.

Good
 
> There is also no description in the version 2 docs on how to delete a picture.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list