Expand my Community achievements bar.

Export XML Data to a specified file

Avatar

Former Community Member
Hello everyone,

I'm trying to export the Data from a form, to a specified path and filename.

Using hox.exportdata("",0) I can have a dialog box.

But I would like to force the path and have something like :

host.exportdata("c:\Myfile.xml",0)



But this doesn't work where the host.importdata("c:\Mysile.xml") is working...



Thanks for your help
1 Reply

Avatar

Former Community Member
You cannot export without the user's knowledge. The security on that call was changed in version 8 to force th euser to choose a location (so that you could not save with out the users knowledge).