Avatar

Level 10

If you import a data file but only use some of the nodes in the xml then the extras will be caried through. When you import you are taking all of that data and its structure and you are creating a data dom. The binding on the fields will determine whether the field is included or not. You can have 1 of 4 options when binding:

1. Normal binding will simply use the structure of th ehierarchy in the form.

2. None - th efield will be excluded from the data file

3. Global - the field will shar eits value with all other liked named fields.

4. A binding expression where the field is bound to a predetermined structure (like a schema)

Note that binding is not dynamic .....that is to say that once it has been set at form load it cannot be changed.

So in your case I woudl suggest that you create a schema or sample xml file with all fields that you want in it and make sure that both forms follow that same structure.

Make sense?

Paul