Removing binding

T

Tiff

Hi,

In a previous email I asked about whether its possible to add the 'add a
file' control to a form thats bound to a DB - without binding that particular
control to the DB.

We have a change request form, and we are just adding this control in case
people want to link the request to reference information (such as
policy/research papers). We don't want to store the file in our access DB -
for performance issues - we just save the infopath form and reference it.

We don't want to use a hyperlink, because the source documents may be
located on directories that we don't have access to.

Is there anyway you can add a control to a form that is mapped to a DB,
without having to bind that control to the DB.

Thanks,
Tiffany.
 
S

Scott L. Heim [MSFT]

Hi Tiffany,

The following steps should allow you to add a control to your form that is
not bound to the database:

- Open your InfoPath template in Design View
- Display the Data Source Task Pane
- Right-click on the top level node (typically myFields) and choose Add
- Enter a name, choose a Data Type and click OK
- Drag that field from the Date Source to your View

NOTE: Just to be clear, there are some caveats to doing this:

- If you do not actually "save" your form, the information stored in this
field will be lost when the form is closed
- If you return multiple records to your form, there is no way to associate
this control to any one record

I hope this helps!

Best Regards,

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 

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