<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Selecting Specific Database Records</title>
	<atom:link href="http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/feed/" rel="self" type="application/rss+xml" />
	<link>http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/</link>
	<description>Building intelligent forms using Adobe LiveCycle Designer</description>
	<lastBuildDate>Thu, 19 Jan 2012 16:32:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: allan</title>
		<link>http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/#comment-5921</link>
		<dc:creator>allan</dc:creator>
		<pubDate>Mon, 08 Nov 2010 18:08:57 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=45#comment-5921</guid>
		<description>Stefan

Can you provide a sample PDF with xml file that will populate a dropdown(30 values), and script that will fill 30 textfields(values from same xml) based on the DDL selected. I am running LC8.2. I have not seen &quot;any&quot; examples other than &quot;switch&quot; with one(value/text), but that coding for 30 fields is too much.

-Allan</description>
		<content:encoded><![CDATA[<p>Stefan</p>
<p>Can you provide a sample PDF with xml file that will populate a dropdown(30 values), and script that will fill 30 textfields(values from same xml) based on the DDL selected. I am running LC8.2. I have not seen &#8220;any&#8221; examples other than &#8220;switch&#8221; with one(value/text), but that coding for 30 fields is too much.</p>
<p>-Allan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/#comment-5920</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Sat, 06 Nov 2010 19:48:23 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=45#comment-5920</guid>
		<description>@Lena Hill,

Unfortunately, I don&#039;t have the time to help you offline.</description>
		<content:encoded><![CDATA[<p>@Lena Hill,</p>
<p>Unfortunately, I don&#8217;t have the time to help you offline.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lena Hill</title>
		<link>http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/#comment-5919</link>
		<dc:creator>Lena Hill</dc:creator>
		<pubDate>Tue, 26 Oct 2010 16:50:13 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=45#comment-5919</guid>
		<description>Hi Stefan,

Thanks, but from your response I realize that what you&#039;re doing in your example is really not what we&#039;re needing to do.  Therefore, I would prefer to continue this dialogue offline in order to provide more detail to you as to what we&#039;re trying to accomplish.  If that&#039;s possible, then please email me.

Thanks,

Lena</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>Thanks, but from your response I realize that what you&#8217;re doing in your example is really not what we&#8217;re needing to do.  Therefore, I would prefer to continue this dialogue offline in order to provide more detail to you as to what we&#8217;re trying to accomplish.  If that&#8217;s possible, then please email me.</p>
<p>Thanks,</p>
<p>Lena</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/#comment-5918</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Sun, 24 Oct 2010 01:06:47 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=45#comment-5918</guid>
		<description>@Lena Hill,

I&#039;ll try to provide some instructions for you.

First, I don&#039;t believe it&#039;s possible to use the MySQL database file I provided in a Microsoft Access database. You will need to create a new database and create appropriate tables and add the necessary data.

Second, in order to use the ODBC data connection feature, you will need to run your PDF form in Acrobat, not the free Reader, since that functionality is not available in Reader unless you extend your PDF to enable &lt;a href=&quot;http://forms.stefcameron.com/2006/08/12/importing-data-in-acrobat/&quot; rel=&quot;nofollow&quot;&gt;data import&lt;/a&gt;.

Next, I would suggest using a combination of this tutorial and my tutorial on &lt;a href=&quot;http://forms.stefcameron.com/2006/10/12/displaying-all-records-from-an-odbc-data-connection/&quot; rel=&quot;nofollow&quot;&gt;displaying all records from an ODBC data connection&lt;/a&gt; where you would display, in a table with a repeating row (similar to my &lt;a href=&quot;http://forms.stefcameron.com/2009/02/25/expandable-table-with-totals/&quot; rel=&quot;nofollow&quot;&gt;table with totals&lt;/a&gt; but without the &quot;totals&quot; part), all records returned from the search (e.g. last name data entered by the user).

Finally, each row in the table would have a column that is a button that the user could then click in order to &quot;select&quot; that row/record. Clicking on the button would populate the other fields on the form with the data from the selected row/record.</description>
		<content:encoded><![CDATA[<p>@Lena Hill,</p>
<p>I&#8217;ll try to provide some instructions for you.</p>
<p>First, I don&#8217;t believe it&#8217;s possible to use the MySQL database file I provided in a Microsoft Access database. You will need to create a new database and create appropriate tables and add the necessary data.</p>
<p>Second, in order to use the ODBC data connection feature, you will need to run your PDF form in Acrobat, not the free Reader, since that functionality is not available in Reader unless you extend your PDF to enable <a href="http://forms.stefcameron.com/2006/08/12/importing-data-in-acrobat/" rel="nofollow">data import</a>.</p>
<p>Next, I would suggest using a combination of this tutorial and my tutorial on <a href="http://forms.stefcameron.com/2006/10/12/displaying-all-records-from-an-odbc-data-connection/" rel="nofollow">displaying all records from an ODBC data connection</a> where you would display, in a table with a repeating row (similar to my <a href="http://forms.stefcameron.com/2009/02/25/expandable-table-with-totals/" rel="nofollow">table with totals</a> but without the &#8220;totals&#8221; part), all records returned from the search (e.g. last name data entered by the user).</p>
<p>Finally, each row in the table would have a column that is a button that the user could then click in order to &#8220;select&#8221; that row/record. Clicking on the button would populate the other fields on the form with the data from the selected row/record.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lena Hill</title>
		<link>http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/#comment-5917</link>
		<dc:creator>Lena Hill</dc:creator>
		<pubDate>Mon, 18 Oct 2010 18:14:46 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=45#comment-5917</guid>
		<description>Hi Stefan,

I&#039;ve downloaded your sample but can&#039;t get the connection set up to see how it works.

I&#039;ve created the DB using Access 2000 but can&#039;t figure out how to &#039;load&#039; the sql file so that the data is there.

I&#039;m new to LiveCycle and have been advised to ask someone familiar with Access as to how that&#039;s accomplished.  The software doesn&#039;t offer the ability to import that file type and haven&#039;t found the answer using any other means.

I&#039;m told that by modifying your sample we&#039;ll be able to have a user type text into a text field (probably their last name) and when you tab out of that field it activates the look-up to the DB which will then show only those records that match what the user has typed.  It must show numerous columns such as lastName, firstName, middleInitial etc. (all info contained in the DB) so that the user can select the correct entry which will then automatically populate other fields on the form.  We need to do this with employees, establishments etc.

Step-by-step instructions would be greatly appreciated as this is a first for me and we need to create some forms that need this functionality.

Thanks,

Lena</description>
		<content:encoded><![CDATA[<p>Hi Stefan,</p>
<p>I&#8217;ve downloaded your sample but can&#8217;t get the connection set up to see how it works.</p>
<p>I&#8217;ve created the DB using Access 2000 but can&#8217;t figure out how to &#8216;load&#8217; the sql file so that the data is there.</p>
<p>I&#8217;m new to LiveCycle and have been advised to ask someone familiar with Access as to how that&#8217;s accomplished.  The software doesn&#8217;t offer the ability to import that file type and haven&#8217;t found the answer using any other means.</p>
<p>I&#8217;m told that by modifying your sample we&#8217;ll be able to have a user type text into a text field (probably their last name) and when you tab out of that field it activates the look-up to the DB which will then show only those records that match what the user has typed.  It must show numerous columns such as lastName, firstName, middleInitial etc. (all info contained in the DB) so that the user can select the correct entry which will then automatically populate other fields on the form.  We need to do this with employees, establishments etc.</p>
<p>Step-by-step instructions would be greatly appreciated as this is a first for me and we need to create some forms that need this functionality.</p>
<p>Thanks,</p>
<p>Lena</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/#comment-5916</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Wed, 13 Oct 2010 14:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=45#comment-5916</guid>
		<description>@Kim Miller,

Yes, that&#039;s certainly possible and the solution would look almost identical to this tutorial sample except that you would replace the drop down list with a text field to accept the ID and you would make sure that the query executed on the second data connection is designed to return only one record (or you only look at the first record returned).</description>
		<content:encoded><![CDATA[<p>@Kim Miller,</p>
<p>Yes, that&#8217;s certainly possible and the solution would look almost identical to this tutorial sample except that you would replace the drop down list with a text field to accept the ID and you would make sure that the query executed on the second data connection is designed to return only one record (or you only look at the first record returned).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kim Miller</title>
		<link>http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/#comment-5915</link>
		<dc:creator>Kim Miller</dc:creator>
		<pubDate>Mon, 04 Oct 2010 19:56:18 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=45#comment-5915</guid>
		<description>All the examples you show seem to use a drop down list that the user can choose from that returns another subset of data.  I&#039;d like to know if the user can open a form, enter an ID into an appropriate form field and have the form retrieve that one row of data (and no others) from the DB.  Is this possible?

Thank you!</description>
		<content:encoded><![CDATA[<p>All the examples you show seem to use a drop down list that the user can choose from that returns another subset of data.  I&#8217;d like to know if the user can open a form, enter an ID into an appropriate form field and have the form retrieve that one row of data (and no others) from the DB.  Is this possible?</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/#comment-5914</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Fri, 17 Sep 2010 16:21:10 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=45#comment-5914</guid>
		<description>I am developing a form that is connected to a database . The database has three columns of data and I want to be able to select the product number from column 1 in a drop down list and populate my form with the data in the two corresponding columns. Can you help with the code for this</description>
		<content:encoded><![CDATA[<p>I am developing a form that is connected to a database . The database has three columns of data and I want to be able to select the product number from column 1 in a drop down list and populate my form with the data in the two corresponding columns. Can you help with the code for this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/#comment-5913</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Sat, 14 Aug 2010 02:42:45 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=45#comment-5913</guid>
		<description>@helary,

The XML source you posted looks like the contents of the Config DOM. I&#039;m not sure what this has to do with browsing the records.

Are you using an ODBC connection to an XML file (ODBC driver for XML files) in order to use a Data Connection to said file?</description>
		<content:encoded><![CDATA[<p>@helary,</p>
<p>The XML source you posted looks like the contents of the Config DOM. I&#8217;m not sure what this has to do with browsing the records.</p>
<p>Are you using an ODBC connection to an XML file (ODBC driver for XML files) in order to use a Data Connection to said file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: helary</title>
		<link>http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/#comment-5912</link>
		<dc:creator>helary</dc:creator>
		<pubDate>Tue, 10 Aug 2010 10:07:17 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/blog/?p=45#comment-5912</guid>
		<description>Stefan,

Sorry somehow I can&#039;t post the less than and greate than sign, so I post again the XML source by replacing lt and gt sign with bracket signs :

[common]-[data]
....
....
....
   [present]
      [!--  [0..n]  --]
      [pdf]
         [!--  [0..n]  --]
         [version]1.7[/version]
      [/pdf]
      [common]
         [data]
            [uri/]
            [adjustData]1[/adjustData]
            [xsl]
               [uri/]
            [/xsl]
            [outputXSL]
               [uri/]
            [/outputXSL]
         [/data]
         [messaging/]
         [locale/]
      [/common]
      [cache]
         [renderCache/]
         [macroCache/]
      [/cache]
      [incrementalMerge/]
      [script]
         [runScripts/]
         [exclude/]
         [currentPage/]
      [/script]
      [copies/]
      [layout/]
      [xdp]
         [packets]*[/packets]
      [/xdp]
      [output/]
   [/present]</description>
		<content:encoded><![CDATA[<p>Stefan,</p>
<p>Sorry somehow I can&#8217;t post the less than and greate than sign, so I post again the XML source by replacing lt and gt sign with bracket signs :</p>
<p>[common]-[data]<br />
&#8230;.<br />
&#8230;.<br />
&#8230;.<br />
   [present]<br />
      [!--  [0..n]  &#8211;]<br />
      [pdf]<br />
         [!--  [0..n]  &#8211;]<br />
         [version]1.7[/version]<br />
      [/pdf]<br />
      [common]<br />
         [data]<br />
            [uri/]<br />
            [adjustData]1[/adjustData]<br />
            [xsl]<br />
               [uri/]<br />
            [/xsl]<br />
            [outputXSL]<br />
               [uri/]<br />
            [/outputXSL]<br />
         [/data]<br />
         [messaging/]<br />
         [locale/]<br />
      [/common]<br />
      [cache]<br />
         [renderCache/]<br />
         [macroCache/]<br />
      [/cache]<br />
      [incrementalMerge/]<br />
      [script]<br />
         [runScripts/]<br />
         [exclude/]<br />
         [currentPage/]<br />
      [/script]<br />
      [copies/]<br />
      [layout/]<br />
      [xdp]<br />
         [packets]*[/packets]<br />
      [/xdp]<br />
      [output/]<br />
   [/present]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

