<?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: InfoPath with multiple database tables</title><link>https://www.infopathdev.com:443/forums/thread/2475.aspx</link><pubDate>Fri, 02 Jun 2006 13:39:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2475</guid><dc:creator>rkvasal</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2475.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2475</wfw:commentRss><description>Hi Matt,&lt;br /&gt;I really appreciate for your help.As I am very new to InfoPath, still in learning phase, please advise how should I start, like what will be my approach.Here is brief view again what I want:-&lt;br /&gt;I have 3 different tables, from these 3 tables I have to display some fields in combo boxes, so when user will select any field in 1st combo box, 2nd box will be populated based on first selection, then 3rd will be populated accorindg to the second selection(For this you have already advised me to use cascading list, I am sure which will work for sure).&lt;br /&gt;Now based on the selection in these 3 fields from 3 tables, user has to enter like product's LOT number, invoice number etc into another 4th table, how that would be possible?Please give me how should I approach.&lt;br /&gt;&lt;br /&gt;Thanks again for your help.&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Raj Vasal</description></item><item><title>Re: InfoPath with multiple database tables</title><link>https://www.infopathdev.com:443/forums/thread/2474.aspx</link><pubDate>Thu, 01 Jun 2006 01:44:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2474</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2474.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2474</wfw:commentRss><description>Hello rkvasal and welcome to the forum!&lt;br /&gt;&lt;br /&gt;Well you have quite a project on your hands, don't you?&lt;br /&gt;&lt;br /&gt;For the drop-down lists I would look at the following HowTos to get you started on the cascading lists the display different items depending on what was chosen in a previous drop-down.  This is called a cascading drop-down list.&lt;br /&lt;a target="_blank" href=http://infopathdev.com/howto/tutorials/default.aspx?s=Lists&gt;http://infopathdev.com/howto/tutorials/default.aspx?s=Lists&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To order the receipts in descending date order it will be best to manually edit the SQL statement that is executed in the data connection wizard to sort these rows before InfoPath even receives them. Otherwise you can write code to do this, but the SQL statement is going to be much easier and more performant.&lt;br /&gt;&lt;br /&gt;To make the fields un-editable you can either use an expression box or mark the field as readonly by double-clicking the control, going to Display, and selecting Read-only.&lt;br /&gt;&lt;br /&gt;For the data validation I would have to know a little more about your schema. Are you doing this with Managed Code or with script? &lt;br /&gt;&lt;br /&gt;For a lot more information be sure to skim through all of the HowTos on our site and maybe even look into getting one of the books listed on the left sidebar.&lt;br /&gt;&lt;br /&gt;I hope this helps, and good luck!</description></item><item><title>InfoPath with multiple database tables</title><link>https://www.infopathdev.com:443/forums/thread/1321.aspx</link><pubDate>Wed, 31 May 2006 00:24:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1321</guid><dc:creator>rkvasal</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1321.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1321</wfw:commentRss><description>Hi,&lt;br /&gt;I have one infoPath project,can you please help me on this, here is the requirements:-&lt;br /&gt;&lt;br /&gt;The database tables required for this form are as follows:&lt;br /&gt;PORH&lt;br /&gt;POPH&lt;br /&gt;ICI1&lt;br /&gt;POLOT&lt;br /&gt;&lt;br /&gt;The form should present the customer with the following functionality&lt;br /&gt;&lt;br /&gt;Warehouse code dropdown box (PORH.WHSE) – identifying the warehouse where the receipt was made&lt;br /&gt;Supplier code dropdown box (PORH.SUPPLR) – allows the user to select the supplier to narrow the list of receipts&lt;br /&gt;Receipt number dropdown box (PORH.RECPT) – allowing the user to select a receipt number for the supplier selected in the previous dropdown box. The receipt numbers will be ordered in descending date order&lt;br /&gt;Receipt date label (POPH.RECDAT) – displaying the date of the receipt&lt;br /&gt;&lt;br /&gt;Data Grid/Table containing the following columns:&lt;br /&gt;&lt;br /&gt;Item No. – Label (un-editable), POPH.PRODCT&lt;br /&gt;&lt;br /&gt;Description – Label (un-editable), ICI1.PRODCTDES&lt;br /&gt;&lt;br /&gt;Receipt Quantity – Label (un-editable), POPH.RECQTY&lt;br /&gt;&lt;br /&gt;Lot Number – Textbox waiting for lot number, POLOT.LOTNUM&lt;br /&gt;&lt;br /&gt;Add Line – Button allowing the user to add another lot number with the same receipt number, product code&lt;br /&gt;&lt;br /&gt;The information sent to the POLOT table is as follows:&lt;br /&gt;&lt;br /&gt;POLOT.RECPT&lt;br /&gt;&lt;br /&gt;POLOT.PRODCT&lt;br /&gt;&lt;br /&gt;POLOT.LOTNUM&lt;br /&gt;&lt;br /&gt;These three fields are set as a combined key, therefore I will get a data integrity error when a POLOT.RECPT, POLOT.PRODCT and POLOT.LOTNUM are all the same as another record in this table. It is possible multiple lot numbers are sent per item on any one receipt.&lt;br /&gt;&lt;br /&gt;Please give me some tips how this can be possible.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;RV</description></item></channel></rss>