Hi,
I have used Transfer text cmd to export query to text in MS access. This works fine. path= "D:/test/"
DoCmd.TransferText acExportFixed,"Query1",path,False
But i need to change the path dyanmically as my wish when i run this query.
Like i may save my txt in desktop or C: or D:.
I dont want to hard code path as above.
Is there any way to achieve this?
If i get the dyanmic location stored in path variable i can achieve it.
But i dont know how to achieve this.
Actually i was confused 
Docmd.OutputTo acOutputQuery,query1
Above query prompts me for selecting location.
But transferText doesn't? why?
As this application is stored on server. If i give a static path, its exporting in Server D:/test/
But i need this to be stored in my local. This can be done only if it prompts box for user to select the location.
Please help me friends.
Regards,
Shanmugam