Strange behave

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Dec 11 11:40:57 CST 2006


On 12/10/06 10:44 PM, "Joakim Schramm" <joakim at astrocalc.com> wrote:

> Hi,
> 
> I have this code
> 
> .Open AtlasPath
> MsgBox CStr(.IsOpen)
> If .IsOpen = True Then
>     InitAtlasDB = True
>     .Close
> End If
> 
> The message box report True for .IsOpen. But still If .IsOpen = True Then
> evaluate to False ???
> 
> .IsOpen not a "True" Boolean?

Try extract into variable and check in debugger

    x = .IsOpen

-- 
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