>>>>Hi,
>>>>
>>>>What is an example of a "bad" code that would produce error "File is not open"? I get an error report from a customer that shows this error message. The place is Init method of a form. I can't find what would produce this error. And I can't create a "test" line of code that would produce this error message. If I can produce this error maybe it will clue me on what is "wrong" in the Init method.
>>>>I would appreciate any help.
>>>
>>>Where you open files fro this form?
>>>DE, Load, init?
>>
>>A follow up question. I have a combobox control on the form. This combobox INIT method has the following code:
>>
>>XMLTOCURSOR( "GROUPEMAIL.XML", "V_GROUPEMAIL", 512 )
>>
>>this.RowSource = "V_GROUPEMAIL"
>>
>>
>>If for some reason the XMLTOCURSOR does not work in the customer environment and the cursor V_GROUPEMAIL is not created, could the following line, setting RowSource to the name of the cursor cause the File is not open error?
>
>
>Yes, that is why I asked where you opened your tables/cursors.
>If XMLTOCURSOR didn't work then you should install Microsoft XML Core Services (MSXML) 4.0 (or 3.0 can't remember right now :o)
Thank you. I will probably enclose the XMLTOCURSOR with TRY/CATCH to catch it.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham