Rule Example

E

Eli Moscovich

Dear Friends,

can someone please show me step by step an example of a rule
that recive data from a mdb database to a textbox filtered by another
textbox?


TNX,
Eli
 
S

SSA

Dear Eli

You can not import Access data directly into an InfoPath form. Of course,
you can do it programmatically but using rules (which seems to be your
requirement) there is no easy option. Use following steps to import Access
data (without writing code):

1. Export Access data to a SharePoint list. Go to 'External Data' in Access
and select 'SharePoint List' from the 'Export' section.
2. Create a new data connection in InfoPath and select following options:
a. Create a new connection > Receive data
b. SharePoint library or list
c. Enter the list's path where you exported the Access data
d. Select the field that you want to show in InfoPath.
e. Check 'Store a copy of the data in the form template'.
f. Add a name for the data connection

Populate the text box with Access data:

1. Right click the text box and click the button (fx) in the default value
section.
2. Click 'Insert field or group'.
3. Select secondary data source from the 'Data source' drop down.
4. Expand all nodes until you see field names. Select the field that you
want to retrieve value from.
5. Click OK twice and that's it!

Your text box will now show value retrieved from the Access DB.

Hope this helps!

SSA
MOSS MVP
 

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