Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

export to xml problems

Status
Not open for further replies.

tinoco

IS-IT--Management
Feb 16, 2005
49
ES
Hi!
i have a strange problem. I want to export a query to xml. I use the following expression for that:
Application.ExportXML acExportQuery, "queryname", "location"
This query needs information from a form. So it should read it from the form automaticaly when the form is open.
In some forms i can make the export and everything work in others the query ask me again the information.

Everything is made in the same way, i just change the query name.
Anyone have an idea about why this happen?
thanks
 
Hi tinoco,
I am encountering the same problem. Were you able to figure out a solution?

Thanks,
ND
 
Hi!
I solve the problem like:
i define the main query as a make table query, so every time that the query perform i have a table with the data that i want and than i export from the table instead from the query;
before you run the main query you need to create two macros, one to delete the table that your query made and the other to run the query again to have a table with a actualize data.

hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top