Execute queries stored on Access DB and return list result on Infopath form - InfoPath Dev Sign in | Join | Help in SQL Database Integration InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » SQL Database Integration » Execute queries stored on Access DB and return list result on Infopath form Execute queries stored on Access DB and return list result on Infopath form Last post 06-25-2007 01:24 AM by Matt Faus. 4 replies. Page 1 of 1 (5 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 06-18-2007 12:50 AM Raoul Joined on 05-05-2006 Posts 32 Execute queries stored on Access DB and return list result on Infopath form Reply Contact Hi all,I have a primary connection to an Access Db for edit my tables, but now I need to execute some queries stored on Access DB and return list results (list only, like Access list result) on infopath form . Can you help me?Thanks in advance. 06-19-2007 02:06 AM In reply to Matt Faus Joined on 08-18-2006 Dallas, Texas Posts 1,558 Re: Execute queries stored on Access DB and return list result on Infopath form Mark as Not AnswerMark as Answer... Reply Contact Hi Raoul,If you already have the connection to the Access DB, this should be pretty easy. If you open the Data Source taskpane and look at the connection that is pointed to Access you should be able to expand the dataFields to see a repeating table that represents all of the rows in your Access query. If you drag-n-drop this repeating group node onto the view you can create a repeating table control that will display all returned records once the form is opened.I hope this helps! Matt Faus / Microsoft InfoPath MVPQdabra® Software / Streamline data gathering to turn process into knowledge 06-20-2007 10:49 AM In reply to Raoul Joined on 05-05-2006 Posts 32 Re: Execute queries stored on Access DB and return list result on Infopath form Mark as Not AnswerMark as Answer... Reply Contact All right, now.Thank you. 06-21-2007 04:22 AM In reply to Raoul Joined on 05-05-2006 Posts 32 Re: Execute queries stored on Access DB and return list result on Infopath form Mark as Not AnswerMark as Answer... Reply Contact Sorry Matt, but I have met another problem. How can I send a parameter (year) to a query stored on Access Db and then refresh view for display all returning records ? 06-25-2007 01:24 AM In reply to Matt Faus Joined on 08-18-2006 Dallas, Texas Posts 1,558 Re: Execute queries stored on Access DB and return list result on Infopath form Mark as Not AnswerMark as Answer... Reply Contact Hi Raoul,You might want to take a look at this blog post, it should help you out: http://www.infopathdev.com/blogs/matt/archive/2006/01/09/Create-a-Multi_2D00_View-Master_2F00_Detail-using-a-Query-Filter.aspxIf you don't want to use code you can convert the sample give to Rules quite easily. Matt Faus / Microsoft InfoPath MVPQdabra® Software / Streamline data gathering to turn process into knowledge Page 1 of 1 (5 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Hi all,
I have a primary connection to an Access Db for edit my tables, but now I need to execute some queries stored on Access DB and return list results (list only, like Access list result) on infopath form . Can you help me?
Thanks in advance.
Hi Raoul,
If you already have the connection to the Access DB, this should be pretty easy. If you open the Data Source taskpane and look at the connection that is pointed to Access you should be able to expand the dataFields to see a repeating table that represents all of the rows in your Access query. If you drag-n-drop this repeating group node onto the view you can create a repeating table control that will display all returned records once the form is opened.
I hope this helps!
All right, now.
Thank you.
Sorry Matt, but I have met another problem. How can I send a parameter (year) to a query stored on Access Db and then refresh view for display all returning records ?
You might want to take a look at this blog post, it should help you out: http://www.infopathdev.com/blogs/matt/archive/2006/01/09/Create-a-Multi_2D00_View-Master_2F00_Detail-using-a-Query-Filter.aspx
If you don't want to use code you can convert the sample give to Rules quite easily.