Solved

Infopath Form - Query Repeating Table from Access Submitting to Access

Posted on 2013-10-22
2
969 Views
Last Modified: 2013-10-22
I want to create a form that submits to an Access 2007 database. The main purpose for the form is to allow the user to submit request for vacation time. I wanted add the abiliity for the user to see their vacation time summary as well. This information is also stored in the same database and for which I have created a query for. I figured I would add the prebuilt query to the form as a secondary data source and that would be ran when the user request to see the data. For some reason I thought I would be able to set a filter (username()) before executing the query but I dont see where I can do that. I see it on the main source but not the secondary sources. Can someone tell me what I am missing? I am I able to do this? Do I need to add some code to perform the filtering?
0
Comment
Question by:spaced45
[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 Comments
 
LVL 28

Accepted Solution

by:
clayfox earned 500 total points
ID: 39592649
You cannot filter secondary sources when using an ODBC connection like that.

So on the repeating field or dropdown you put a filter to hide what you do not want.  This is not as efficient as a query but it gets the job done.
You can create a formatting rule which hides where username does not equal name in the Access Data.
0
 
LVL 1

Author Comment

by:spaced45
ID: 39592687
I was afraid I was going to get this response. Thank you for your assistance.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

726 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