<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/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>Method:Classic General Q&amp;amp;A</title><link>http://forums.method.me/cs/forums/13.aspx</link><description>Ask technical support questions, how do I? Questions... Or anything else you want to know from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: Linked Field, Linked DropDown in a Grid on a screen</title><link>http://forums.method.me/cs/forums/thread/25756.aspx</link><pubDate>Tue, 10 Feb 2015 20:15:47 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:25756</guid><dc:creator>Method_Justin</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/25756.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=25756</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi Alex,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;Linked Fields are dependent on the dropdown they are linked through, so depending on what you&amp;#39;ve selected in the dropdown they&amp;#39;ll show the data associated with that record. You should be able to update the table using actions&amp;nbsp;like you described, and then refresh the grid to display the updated value.&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;span id="mce_6_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;To add a new item directly from a dropdown in a line item grid,&amp;nbsp;&lt;span id="mce_7_start" style="overflow:hidden;"&gt;take a look at the InvoiceLineItem grid on our stock Invoices screen.&amp;nbsp;&lt;span id="mce_8_start" style="overflow:hidden;"&gt;You&amp;#39;ll have to add the actions to the Button Click event of the grid column.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;img src="http://i.imgur.com/Q5QzbPe.png" alt="" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;Hope this helps.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;- Justin&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Linked Field, Linked DropDown in a Grid on a screen</title><link>http://forums.method.me/cs/forums/thread/25751.aspx</link><pubDate>Tue, 10 Feb 2015 18:20:34 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:25751</guid><dc:creator>alexhuang</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/25751.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=25751</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Here is my table layout:&lt;/p&gt;
&lt;p&gt;(a) In my own table &amp;quot;ProductInfo&amp;quot;, there are &lt;span id="mce_4_start" style="overflow:hidden;"&gt;tw&lt;/span&gt;o fields &amp;quot;ProductUniqueID&amp;quot; (an unique field) and &amp;quot;ProductName&amp;quot;&lt;span id="mce_6_start" style="overflow:hidden;"&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;(b) In &amp;quot;PurchaseOrderLine&amp;quot; table, a Linked field to ProductInfo.RecordID is inserted as a dropdown, and &lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;named as &amp;quot;AssociatedProduct&amp;quot;.&lt;/p&gt;
&lt;p&gt;(c) In &amp;quot;PurchaseOrderLine&amp;quot; table, a linked field to ProductInfo.ProductName is inserted via &amp;quot;AssociatedProduct&amp;quot;. This linked field is named as &amp;quot;AssociatedProductName&amp;quot;&lt;/p&gt;
&lt;p&gt;Then in &amp;quot;Purchase Order&amp;quot; screen, I modify &amp;quot;ProductOrderLine&amp;quot; grid to add one column &amp;quot;AssociatedProductName&amp;quot;.&lt;/p&gt;
&lt;p&gt;I have two questions while working with &amp;quot;PurchaseOrderLine&amp;quot; grid&amp;nbsp;&lt;/p&gt;
&lt;p&gt;(1) It seems that &amp;quot;AssociatedProductName&amp;quot; on the screen is &amp;quot;readonly&amp;quot;, that is, I can not input anything in this column. Is it because this is a linked field, so it just displays information, but not allow editing? What if I need to edit this field, and update back to &amp;quot;ProductInfo&amp;quot; tabl&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;e,&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt; how should I do it? I was thinking if I need to do like:&lt;/p&gt;
&lt;p&gt;(i) add a plain text field to accept &amp;quot;productname&amp;quot;&lt;/p&gt;
&lt;p&gt;(ii) create a new row in &amp;quot;ProductInfo&amp;quot; with this input &amp;quot;productname&amp;quot;&lt;/p&gt;
&lt;p&gt;(iii) get the RecordID from (ii) and set this value to &amp;quot;AssociateProduct&amp;quot;&lt;/p&gt;
&lt;p&gt;Is it the right way? or any easier way to do?&lt;/p&gt;
&lt;p&gt;(2) In this &amp;quot;PurchaseOrderLine&amp;quot; grid, there is an &amp;quot;Item&amp;quot; column, which is a dropdown. However, It just allows users to select any items exists in the database. Is there way that I can add a &amp;quot;add new...&amp;quot; item in this dropdown, then trigger actions to open &amp;quot;add item&amp;quot; popup screen?&amp;nbsp;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;span id="mce_7_start" style="overflow:hidden;"&gt;It seems that I can do this in a dropdown out of a grid, but not in a grid.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Alex&lt;/p&gt;</description></item></channel></rss>