Solved

Infopath Form - Query Repeating Table from Access Submitting to Access

Posted on 2013-10-22
2
923 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
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now