<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: New to infopath - urgent problem</title><link>https://www.infopathdev.com:443/forums/thread/23887.aspx</link><pubDate>Mon, 22 Oct 2007 14:51:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23887</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23887.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23887</wfw:commentRss><description>&lt;p&gt;OK&lt;/p&gt;
&lt;p&gt;Questions first&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Make the button &amp;quot;Rules and Custom Code&amp;quot;, then add an action to the rules so that it quesries the main connection.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;If you didn&amp;#39;t want to worry about speed etc then you could run a rule that sets the queryfield linked to ID field, query the dataconnection, then return that value into the datafield ID.&amp;nbsp; Your input data&amp;nbsp;field would be called something different for this to work.&amp;nbsp; Then validate on the other datafield.&amp;nbsp; More simply you can make the ID an Autonumber in Access or iterate it in SQL&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;To the last one,&amp;nbsp;add another table to the database below all three other linked to each.&amp;nbsp; This will be your table to record who has borrowed what by which author.&amp;nbsp; This table will be represented on the form as a repeating table with drop-down boxes to select author, book etc.&amp;nbsp; On the end of the repeating table have a check box to borrow the book.&amp;nbsp; The value that the check box returns is 1 when not blank and 0 when blank.&lt;/p&gt;
&lt;p&gt;Then have a field in Borrowers that counts how many times that box has been ticked and validate it so that if it is greater than 2 is errors.&lt;/p&gt;
&lt;p&gt;To supply the information to the drop-down boxes add your main data connection back to the form as a secondary datasource.&lt;/p&gt;
&lt;p&gt;Keep posting here with more specifics as things progress and we will soon get this sorted&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;</description></item><item><title>Re: New to infopath - urgent problem</title><link>https://www.infopathdev.com:443/forums/thread/23876.aspx</link><pubDate>Sun, 21 Oct 2007 18:06:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23876</guid><dc:creator>happinin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23876.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23876</wfw:commentRss><description>&lt;p&gt;cool, figured it out, I needed to click on the &amp;quot;Filter data button&amp;quot; in the repeating tables section to fill everything.&lt;br /&gt;couple more questions.&lt;/p&gt;&lt;p&gt;1.when i create a button and sit it next to the query&amp;#39;s text box/field (not the actual data field) how do i arrange it so that when i hit enter and / or when i click the button, the search executes?&lt;br /&gt;2.another one is, how do i set a certain type data field so that when I try to input duplicates, it doesnt allow it? (etc, cant enter 2 records with the same ID number)&lt;/p&gt;&lt;p&gt;&amp;nbsp;Also: &lt;/p&gt;&lt;p&gt;My data source structure is like this. (RG - repeating group, NR - Non repeating)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Library: (main)&lt;br /&gt;- call_number&lt;br /&gt;- borrower_ID&lt;br /&gt;&amp;lt;will enter more if I need more query fields&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Authors(RG)&lt;br /&gt;- authorFullName&lt;br /&gt;Borrowers(RG)&lt;br /&gt;- firstName&lt;br /&gt;- surName&lt;br /&gt;- borrowerID&lt;br /&gt;- bookQuantity&lt;br /&gt;- borrowerFullName&lt;br /&gt;Books(RG)&lt;br /&gt;- callNumber&lt;br /&gt;- title&lt;br /&gt;- author&lt;br /&gt;- status&lt;br /&gt;- pubDate&lt;br /&gt;- publisher&lt;br /&gt;- purchaseDate&lt;br /&gt;- edition&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Anyway that is my structure and I&amp;#39;m having a problem with setting up a &amp;quot;borrow a book view&amp;quot;&lt;br /&gt;How do i associate a borrower with a book, and have all fields display in a recorded table?&lt;br /&gt;Also I want to make it so they can borrow 2 books at the most each time, and I want the book status to change to - On Loan and When I look up books, I want them to show who is borrowing them, and when i look up borrowers I want to see what book(s) they are borrowing.&lt;br /&gt;&lt;br /&gt;is there any way through instant messaging or a detailed explanation I can do this?&lt;br /&gt;Still confused on this part&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: New to infopath - urgent problem</title><link>https://www.infopathdev.com:443/forums/thread/23875.aspx</link><pubDate>Sun, 21 Oct 2007 17:10:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23875</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23875.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23875</wfw:commentRss><description>&lt;p&gt;OK&lt;/p&gt;
&lt;p&gt;If you wanted to search by call number you have to have the queryfield from your database called call_number (not the datafield).&amp;nbsp; Then your search button is to search the database for any datafield containing the queryfield, this can be enacted by just&amp;nbsp;querying the datasource on the click of the button.&lt;/p&gt;
&lt;p&gt;Your repeating table to dispaly the results has to be linked ONLY to the datafields so that it shows the result of the query to the datasource.&amp;nbsp; That should do it.&lt;/p&gt;</description></item><item><title>Re: New to infopath - urgent problem</title><link>https://www.infopathdev.com:443/forums/thread/23873.aspx</link><pubDate>Sun, 21 Oct 2007 16:10:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23873</guid><dc:creator>happinin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23873.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23873</wfw:commentRss><description>&lt;p&gt;Thats cool mate.&lt;/p&gt;&lt;p&gt;Here&amp;#39;s the first problem. Say I&amp;#39;ve got the add a book perfect. Ive made a new view for &amp;quot;Find a book&amp;quot; and I add a text box from a field called query, I add a repeating table for the &amp;quot;Books&amp;quot; data fields, and I also add a button named &amp;quot;Search&amp;quot;.&lt;/p&gt;&lt;p&gt;This is gonna be used to search by call number. I want to enter in the call number in a blank field once ive entered in the details and I want to click the search button and have the data come up in the repeating table below. The repeating section for the query text box and the search button is set to detail and the table below where results are displayed is set to master.&lt;/p&gt;&lt;p&gt;How do i go about hooking the query field to the button and setting up the search to display in the master table?&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: New to infopath - urgent problem</title><link>https://www.infopathdev.com:443/forums/thread/23830.aspx</link><pubDate>Fri, 19 Oct 2007 12:16:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23830</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23830.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23830</wfw:commentRss><description>&lt;p&gt;Sorry &lt;/p&gt;
&lt;p&gt;but i do not have MSN can you explain which parts of my solutinos are causing you issue then I can go into more detail&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;</description></item><item><title>Re: New to infopath - urgent problem</title><link>https://www.infopathdev.com:443/forums/thread/23828.aspx</link><pubDate>Fri, 19 Oct 2007 09:53:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23828</guid><dc:creator>happinin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23828.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23828</wfw:commentRss><description>&lt;p&gt;Hey adam&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks for your swift reply.&lt;br /&gt;some of the functions of the program do confuse me so im not sure exactly how to do the right settings on it.&lt;br /&gt;If you have msn, I can show you what I have done - do u have msn?&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: New to infopath - urgent problem</title><link>https://www.infopathdev.com:443/forums/thread/23819.aspx</link><pubDate>Thu, 18 Oct 2007 19:44:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23819</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23819.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23819</wfw:commentRss><description>&lt;p&gt;To stop a duplicate ID numer being entered set the field in the database to not allow duplicates, that should stop the submit being successful.&amp;nbsp; One other point, for speed you might want to separate out the views into forms of their own, so one form for add an author, one form for add a book and so on.&lt;/p&gt;
&lt;p&gt;Answering your questions in tern:-&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Add a new view/form, insert text boxes for your fields but bind them to the &lt;strong&gt;queryfields&lt;/strong&gt; in your database, then add a button and set it to query the main datasource and switch to another view after the query has completed to show the results&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;On your fourth view/form to borrow a book have a drop-down list link it to your borrowers table so that once a borrower has been entered they can then choose themsleves off a list.&amp;nbsp; To stop them taking out too many books have a field that COUNTS the number of books borrowed and add validation to stop people requesting more than say 4.&amp;nbsp; For the books have a repeating table linked to Books, if you were intersted you could add filters that would limit the repeating table to only display &amp;quot;Horror&amp;quot; books for example.&amp;nbsp; I can give you more info on that.&amp;nbsp; Then in the repeating table have a tick box to borrow that sets the borrowed field to 1 that way it can be counted.&amp;nbsp; You could aslo combine the query view so they could search for the book to borrow.&amp;nbsp; All can be done depends on how you want to implement it&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;I think I have covered that in 1.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;First you would need a new table to record each person who borrows a book that is linked on the many side of a one-to-many relationships to both Borrowers and Books then add a query field linked to the new table that joins the borrower to the books&lt;/li&gt;
&lt;li&gt;For this add a field in books for status then have a drop-down list queryfield to select what type the person is interested in.&amp;nbsp; Then add a button that queries the main data source for all book of that status and display the results in a repeating table bound to books, job done.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;All in all this is quite a lot of work so best of luck&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;</description></item><item><title>Re: New to infopath - urgent problem</title><link>https://www.infopathdev.com:443/forums/thread/23807.aspx</link><pubDate>Thu, 18 Oct 2007 13:47:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23807</guid><dc:creator>happinin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23807.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23807</wfw:commentRss><description>&lt;p&gt;Hey there.&amp;nbsp;thanks for the reply!!&lt;/p&gt;
&lt;p&gt;I&amp;#39;am trying to create&amp;nbsp;library forms&amp;nbsp;for university, and the deadline is in 24 hours.&lt;/p&gt;
&lt;p&gt;Basically I have gotten a little grip on&amp;nbsp;infopath 2003&amp;nbsp;since my last post so I will try and explain the structure of it&amp;nbsp;a little better.&lt;br /&gt;I have created a blank form, and I have named the main data folder in data sources to &amp;quot;Library&amp;quot;. I have included&amp;nbsp;3 repeating subgroups - Borrower, Author.&lt;/p&gt;
&lt;p&gt;I have added three views that I got working. but I still have questions.&lt;/p&gt;
&lt;p&gt;In one view I have it set as &amp;quot;Add an author&amp;quot;. People enter the author&amp;#39;s name and click the add button in the&amp;nbsp;&amp;quot;detail&amp;quot; table&amp;nbsp;the author&amp;nbsp;name goes&amp;nbsp;into the&amp;nbsp;master table (the xml database).&lt;br /&gt;In the next view&amp;nbsp;(&amp;quot;Add a book&amp;quot;)&amp;nbsp;I have the same thing for all the book details, but problem is&amp;nbsp;when I enter the same ID number for two different inputs, I want it to detect the duplicate ID number and prevent from inputting a double into the master table but i dont know how to do that.&lt;br /&gt;In the next view (&amp;quot;Add borrower&amp;quot;) you just enter the student&amp;#39;s ID number, first and last name and that gets input into another master table - thats ok.&lt;/p&gt;
&lt;p&gt;Now here are my problems:&lt;/p&gt;
&lt;p&gt;- I want to create a view that can search a specific book by any field - I dont know how.&lt;br /&gt;- I want to create a view that can lend out a certain number of books to a specific borrower&amp;nbsp;which means combining the data from books and borrowers&amp;nbsp;- i dont know how&lt;br /&gt;- I want to create a view that can search, find out about and change a book&amp;#39;s status - I dont know how&lt;br /&gt;- I want to create a view that can find out all books borrowed by a specific person - I dont know how&lt;br /&gt;- I want to create a view that can find all books with a current status - I dont know how&lt;/p&gt;
&lt;p&gt;If you guys can help me fix my problems id greatly appreciate it as I&amp;#39;m a total newb to this program&lt;/p&gt;
&lt;p&gt;&amp;nbsp;cheers :)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: New to infopath - urgent problem</title><link>https://www.infopathdev.com:443/forums/thread/23765.aspx</link><pubDate>Wed, 17 Oct 2007 14:34:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23765</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23765.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23765</wfw:commentRss><description>&lt;p&gt;Hello and welcome to our forum! I&amp;#39;m psyched to see that you&amp;#39;re using InfoPath in college.&amp;nbsp;I&amp;#39;m curious if using InfoPath was your choice or InfoPath was a requirement of the assignment.&lt;/p&gt;
&lt;p&gt;In terms of your issue, it looks like you&amp;#39;ve hit one of the key limitations of InfoPath.&amp;nbsp;To store data in a database from InfoPath you either have to start from the database side or you have to write a bunch of code.&lt;/p&gt;
&lt;p&gt;Out of the box in InfoPath, you are required to first create your database in Access or SQL (or any ADO accessible DB). Then in InfoPath you select Design a Form and then select the Database option. From there you can select the table and it will infer the schema and create the data connection.&lt;/p&gt;
&lt;p&gt;Of course most people do what you did (we do too)! In this case you end up having to write code to manually create the data connection in code b/c IP doesn&amp;#39;t allow you to create a submit data connection directly to a DB from an existing form. Because of this limitation we created Qdabra Database Accelerator for InfoPath which allows you to take any IP form and map its schema to a SQL Server database using a GUI with powerful options.&lt;/p&gt;
&lt;p&gt;We have a free trial/dev edition which i encourage you to download and use for your project. It will make your life much easier. &lt;a href="http://www.qdabra.com/dbxl/"&gt;http://www.qdabra.com/dbxl/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If this is off the mark on what you&amp;#39;re trying to do please let me know.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>New to infopath - urgent problem</title><link>https://www.infopathdev.com:443/forums/thread/23762.aspx</link><pubDate>Wed, 17 Oct 2007 12:15:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23762</guid><dc:creator>happinin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23762.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23762</wfw:commentRss><description>&lt;p&gt;Hey guys,&amp;nbsp; I&amp;#39;m totally brand new to infopath and was wondering if you could help me im so desperate.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m currently using infopath 2003 at my university for a group project and never used it before in my life.&lt;br /&gt;&lt;br /&gt;This is what the task says to do.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Write a library database using infopath for keeping track of library books. For each book in the library the system is to keep the following information:&lt;/p&gt;
&lt;p&gt;a) Call number&lt;br /&gt;b) Title&lt;br /&gt;c) Author&lt;br /&gt;d) Date of publication&lt;br /&gt;e) Edition&lt;br /&gt;f) publisher&lt;br /&gt;g) purchase date&lt;br /&gt;h) Book status - (in library, on loan, lost)&lt;br /&gt;i) Due date&lt;br /&gt;j) Borrowers name&lt;br /&gt;&lt;br /&gt;The final database will be used to display the following information&lt;/p&gt;
&lt;p&gt;1. A record for specific book (searchable by any field)&lt;br /&gt;2. All books in the library that currently have a given status&lt;br /&gt;3. all books that had a particular status in a given date range&lt;br /&gt;4. all books borrowed by a specific person&lt;br /&gt;5. the number of times a title has been borrowed in a given date range&lt;br /&gt;&lt;br /&gt;you will also need to develop forms for&lt;br /&gt;&lt;br /&gt;1. Adding a new book&lt;br /&gt;2. Adding a new author&lt;br /&gt;3. Adding a new borrowed&lt;br /&gt;4. Changing a books status&lt;br /&gt;a) book is loaned to a specific borrower&lt;br /&gt;b) book is returned&lt;br /&gt;c) book is lost&lt;br /&gt;5. changing a books details&lt;br /&gt;a) title&lt;br /&gt;b) author&lt;br /&gt;c) publisher&lt;/p&gt;
&lt;p&gt;when adding a new book, the system should ask for duplicates.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Now I&amp;#39;ve been googling for days and I&amp;#39;m totally stiffed.&lt;br /&gt;I can create a form and make it look good. I have no idea how to put it into action, how to link to or create an xml database using the program and this has left me totally confused.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;my head is spinning can someone please help me with this?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>