Form Merging / Importing

?

---

Is there a way to import data from one Form to another? Imagine I've
got a Form (Expenses) which contains a bunch of purchases. The data
for each purchase is contained in another form (Purchase), but only a
subset of the data is required for the Expenses Form (date, person,
cost, etc).

1. Form Merging doesn't seem to cut it, the schema are different.
2. I've tried attaching the Purchase Forms, but they are imported at
base64 and I can't manipulate them that way.
3. I've tried (in javascript) creating a XMLDocument and calling
the .load method on the Purchase file. This DOES load the document,
but when I try to select nodes, I get a namespace error ( both schema
share the same namespace).

I'm thinking method 3 is the way to go, but can't seem to get around
the namespace problem. The exact error is "Reference to undeclared
namespace prefix: 'my'".

Anyone got any ideas?
 
?

---

Ok, I've got it. I forgot to set the SelectionNamespaces property of
the code created XMLDocument.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top