?
Solved

filling a repeating table based on selection

Posted on 2008-10-10
4
Medium Priority
?
641 Views
Last Modified: 2012-05-05
We are creating an infopath form for adding a new user to our network.  We are a financial institution, so we have many applications that we need to add access for.  We would like to create a form in which one secion is the employee information (i.e. Name, Location, Position) and a repeating table below that is the applications needed for the Position (field).  When i select a position I would like the repeating table to fill in a row for each application needed so that each officer could check off that particular application when complete.  Is there a way to do this?  

I have an access database created with all the necessary data (for both queries as well as submission).  Ideally the employee table would populate with the top portion of the table, and the Application table would populate with a record number (for indexing purposes) as well as a completion status.  Any help is greatly appreciated.
0
Comment
Question by:cjg1979
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 28

Expert Comment

by:clayfox
ID: 22696470
Typically you would have a table of possible applications that would be a secondary data connection.

They would have a repeating table of selections. Inside would be at least a drop down listing possible applications, maybe even filtered by employee department of something. Then they would select one and then use the default insert link to add additional rows and select additional applications.
This is the default InfoPath behavior and implementation of this type of data picking.

For the top part, it woul dprobably be secondary data unless you want them to edit their employee data.  So the Applications selected would be the main table for submission.

I would recommend www.infopathdev.com as a resource.

you also should look at some of the web services suites at qdabra.com.  They have all the web services to work with SQL directly.  Which for an enterprise application is best practice. Access is not the ideal choice.
Also they have a Active Directory web service which can identify each user, even via VPN, so you always have the correct employee, or know who is completing the form.

Good Luck
0
 

Author Comment

by:cjg1979
ID: 22702921
I can get the repeating table to work with dropdowns they can select.  This works like a charm, but what I'd like is for them not to have to add rows and applications manually, but rather a default list of necessary applications to fill the repeating table.  I'm one step away at this point.  They can enter employee information, build the application access necessary manually, and submit all the data (employee, access needed, and even completion status upon updates), but I'd like the repeating table of applications to be automatic based on a selection in the employee data.  
0
 
LVL 28

Accepted Solution

by:
clayfox earned 1500 total points
ID: 22717736
This requires code to auto create the records for them.

www.infopathdev.com has some examples I believe.
0

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question