>>>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)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.