Is this is correct?

I am storing current document into excel for that I took one form profile form and put one button pathofexcel and i created another form in that take details of student and searching for file i written like this Set uidoc=ws.CurrentDocument

Set db=ss.CurrentDatabase

Set doc=db.GetProfileDocument("Configurationform")



filepath$=doc.Excelpath(0)

pathname$=Dir$(filepath$,0)

Do While pathname$<>""

	pathname$=Dir$()

Loop

Msgbox pathname$

but I got these errors

path not found and noresume errors

can any one help in this I am new to lotus notes

with hope

thanks

Subject: is this is correct?

What is the value of doc.ExcelPath(0)?

Does it exist? Can you get to it?

Subject: RE: is this is correct?

doc.excelpath(0) is the field in the profileform and i entered the value like this c:\notes\data\excelexport.xls.excelexport.xls existed

thanks

Subject: RE: is this is correct?

Please, read this from the CRISPY initiative

Use the debugger and do whatever else you know how, to find out what’s wrong and where it’s happening. See here and here for diagnosis procedures. See below for other debugging suggestions.

JYR

For faster answers, be C R I S P Y