Solved

Is it Possible to submit InfoPath forms to an Access DB on SharePoint?

Posted on 2012-04-12
5
744 Views
Last Modified: 2012-04-13
We have InfoPath 2010, Access 2010 and SharePoint 2010 Enterprise

I need to know if it is possible to use InfoPath to submit forms to an access DB on SharePoint.

I don’t need to know how to do this right now, I just need to know if it is possible.
Here are the details of what we would like to do.

We need this for employee leave and benefit tracking. Currently we are using a complicated Excel workbook to do part of this.

What I would like to do is:

have an access database that holds the following:

a. Employee information (contact info, date started,  training info,  job description etc)

b. Leave earned (Overtime, Sick, Vacation)

c. Leave taken (overtime, sick, vacation)

d. Leave that can be advanced (usually vacation you could earn between now and the end of the fiscal year)

e. Available leave (overtime, sick, vacation)

f. Available benefits (health, education)

g. Benefits used (health, education)

h. Generate reports corporate wide on the above

We would like to have InfoPath forms that do the following:

a. When the form is opened from sharepoint, based on ID of logged in user, populate the form with some of the employee information, and the leave/benefits available

b. Have place in the form to apply for leave (date range and leave type)

c. Use a workflow to submit the form to a supervisor

d. Supervisor approval gets forwarded to HR

e. HR approval sends approval or deny to staff and submits the leave (dates and type) to the access DB and applies it to that employees leave.

I also need HR to have the ability to override some of the InfoPath information that is submitted to Access. (ie. If date range for leave includes weekends, holidays or any other office closure those days need to be deducted from the leave taken)

I would like all this to be handled via SharePoint and Ideally, the logged in user would have access to all their own data so they could see all their available leave, leave taken, benefits used etc.

Is this a strategy that will work?
0
Comment
Question by:itkadmin
[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
  • 3
  • 2
5 Comments
 
LVL 28

Accepted Solution

by:
clayfox earned 500 total points
ID: 37837843
This is all doable and a good solution except for the Access Part.

1. You can host an Access Data Base in SharePoint.  It would have to be hosted on a shared drive everyone would need to have access to.
2. Access is not really designed for this type of enterprise solution. I would migrate what you have to SQL.  SharePoint is running on SQL so you have a server already.

You can certainly host the form in SharePoint and the users would not really know where the data is going.

Typically you would make a form that would look up data out of the database each time the user used it.  So do not save any data in forms and have them open them up again unless there are some workflow processes.

Best to just have a database access form. They open a new one each time and query what they want.  that way the data is consistent every time and info is not locked in some other form no one know about.   You can have an email submit that would send to people to notify of the workflow, but again when they open the form it would query the database first.  SO essentially every action gets submitted to the database and everything is queried for consistency. You may want a status or a field to track the stages of the process and be able to have logic that acts accordingly.

I also often make an admin form for HR which would have more functionality to edit or whatever.  So make one or more forms for the standard process and then one for HR specifically.


Hope that helps
0
 
LVL 2

Author Comment

by:itkadmin
ID: 37842126
Thanks a million for your reply.  Sorry I took a day to get back to you.

I work for a small charitable organization, so we are pretty much on our own to sort this out.

I haven't worked directly with databases at all, just the SharePoint interface for libraries, lists etc. I have some experience with MySQL for websites. I get what you are saying about access.

I'm not even sure what tools to start with as far as building the sql database. Do you know of any reference URLs I could use to get started? I use google, lynda.com and experts-exchange to figure just about everything out. What software do I need to build the database? Should I do it all in Access then import to SQL? Right now we haven't begun this project. I prefer planning it all out before I get started. Otherwise I can get things working, but a year later I have no idea how or why something was done. Too many little fixes that should have been dealt with properly to begin with and it all becomes a horrible mess.
0
 
LVL 28

Expert Comment

by:clayfox
ID: 37842178
If you have a SharePoint Server you have SQL and the management suite. It has all you need to create tables and views, etc.

You could do this entirely with lists in SharePoint, but to your point it would not be as good in the future for performance, etc.

I have been mucking with Microsoft SQL for a long time but would not be too different from MySQL and I would start with Microsoft's support of it first.
0
 
LVL 2

Author Comment

by:itkadmin
ID: 37842216
Yeah, I tried something similar in sharepoint lists when we had SP2007. Didn't work well for 2 reasons.
1. some of the formulas we use for calculating leave were more complex than SP was willing to deal with.
2. Too much relational stuff going on. This might be possible in lists, but I couldn't figure it out.

Thank you so much! I suspect I'll be posting a lot once things get rolling.
0
 
LVL 2

Author Closing Comment

by:itkadmin
ID: 37842220
A lot of help, friendly too! Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

756 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