Exporting data through RunBaseBatch

Hi Everyone,

I am exporting data to a text file through RunBaseBatch. I have created a dialog box to give the name and location dynamically. The value is stored , U can see the below lines of code to understand it.

#define.filename(location)

;

file = new TextIo(#filename,‘W’);

But the it is not creating new Text object for the " file " .

Note :: I am running this program on client side. And I have also kept runimpersonated method to false.