<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[My Visual Database — How to link selected grid rows to counter in different table?]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=8992</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=8992&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in How to link selected grid rows to counter in different table?.]]></description>
		<lastBuildDate>Mon, 20 Jan 2025 16:11:54 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to link selected grid rows to counter in different table?]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=51959#p51959</link>
			<description><![CDATA[<p>Hi,<br />Probably better if you can create a new topic.<br />Derek..</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Mon, 20 Jan 2025 16:11:54 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=51959#p51959</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to link selected grid rows to counter in different table?]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=51958#p51958</link>
			<description><![CDATA[<p>Thank you Derek,</p><p>ill go try with your advice,</p><p>should i post my work here or should make new topic for my work?</p>]]></description>
			<author><![CDATA[null@example.com (IgorMad)]]></author>
			<pubDate>Mon, 20 Jan 2025 15:30:44 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=51958#p51958</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to link selected grid rows to counter in different table?]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=51955#p51955</link>
			<description><![CDATA[<p>Hi,<br />I suspect from your screenshot that you are using a spreadsheet and although it might look how you want to see it (because you have removed the repeated data) if you ever need to re-sort your spreadsheet, you will encounter problems. <br />With a relational database (such as sqlite which is the default database used by MVD) data is typically presented in two or more tablegrids to avoid repeated data being displayed.&nbsp; Putting all the data in a single tablegrid can be done but will result in certain pieces of information being repeated (ie Order No, Customer etc).<br />Have a look at the attachment for how it works.<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Sun, 19 Jan 2025 21:22:07 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=51955#p51955</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to link selected grid rows to counter in different table?]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=51954#p51954</link>
			<description><![CDATA[<p>Thank you for help<br />maybe this attachment will be more precise.<br />1 order number 1 customer but 2 or more items he ordered in same tablegrid thats what i was thinking.</p><p>ORDER NUMBER / CUSTOMER /&nbsp; &nbsp;ITEMS&nbsp; &nbsp;/&nbsp; QUANTITY<br />&nbsp; &nbsp; &nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/&nbsp; &nbsp; &nbsp; Igor&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /&nbsp; Bottle&nbsp; &nbsp; &nbsp;/&nbsp; &nbsp; &nbsp; &nbsp; 15<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /&nbsp; &nbsp; Mug&nbsp; &nbsp; /&nbsp; &nbsp; &nbsp; &nbsp; 10<br />&nbsp; &nbsp; &nbsp; &nbsp; 2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /&nbsp; &nbsp; &nbsp; Marko&nbsp; &nbsp; &nbsp;/&nbsp; Pencil&nbsp; &nbsp;/&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5</p><br /><p>I start to make simple app for single user in my small family company so i will send&nbsp; it when i stuck <img src="https://myvisualdatabase.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /> and probably i will.</p><p>maybe somewhere in forum have example for that but i cannot find it.</p><p>Thank you</p>]]></description>
			<author><![CDATA[null@example.com (IgorMad)]]></author>
			<pubDate>Sun, 19 Jan 2025 17:30:16 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=51954#p51954</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to link selected grid rows to counter in different table?]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=51951#p51951</link>
			<description><![CDATA[<p>Hi,<br />This is because the original requirement was for a job (jobheaders) that contained many items (joblines) and each job line could be for a different client.<br />What you are asking about is a job (jobheaders) that contains many items (joblines) but every job line is for the same client.<br />In this case, you can<br />1.&nbsp; remove the relationship between client and joblines<br />2.&nbsp; create a relationship between client and jobheaders<br />3.&nbsp; adjust the tablegrids<br />4.&nbsp; adjust Form2 and Form3<br />I believe these changes should give you the sort of thing you are wanting (see attachment).<br />It&#039;s okay if it&#039;s easier to post messages in your own language - most of us use &#039;google translate&#039; anyway.<br />Regards,<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Sun, 19 Jan 2025 12:43:28 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=51951#p51951</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to link selected grid rows to counter in different table?]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=51950#p51950</link>
			<description><![CDATA[<p>Hi,</p><p>i cannot find any example where 1 customer order many items and not repeat customer name in grid?<br />I attach screenshot.</p><p>sorry for my bad english.</p><p>Igor</p>]]></description>
			<author><![CDATA[null@example.com (IgorMad)]]></author>
			<pubDate>Sun, 19 Jan 2025 12:01:43 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=51950#p51950</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to link selected grid rows to counter in different table?]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=51221#p51221</link>
			<description><![CDATA[<p>In that case, simply use a &#039;header&#039; table (with the &#039;counter&#039;) and then use another table to hold all the related line items.<br />Please see attached (I used one of my own templates as it was quicker to demonstrate but everything can be applied to your project / layout).<br />One other suggestion is to use just a single form to maintain your reference tables (&#039;clients&#039; and &#039;items&#039;). In bigger projects where you might have many such reference tables or if your current project starts to grow,&nbsp; it can be a big time-saver when developing it and your program will load faster.<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Sat, 13 Jul 2024 18:50:02 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=51221#p51221</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to link selected grid rows to counter in different table?]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=51219#p51219</link>
			<description><![CDATA[<div class="quotebox"><cite>derek wrote:</cite><blockquote><p>Hi,<br />I had a quick look at your project and, unless I&#039;m missing something, I don&#039;t think you need to make it as complicated as you are doing.<br />Specifically, why do you need a separate table just for the &#039;editcounter&#039; when it could simply go on the &#039;linkitems&#039; table.<br />Have a look at the attachment.<br />Regards,<br />Derek.</p></blockquote></div><p>Thank you Derek.<br />@derek I already tried that but that is not I want.<br />it creates 1 auto number per row.</p><p>What I want is a 1 reference number for filtered selected rows[can be one or more than one].</p><p>Take Invoice as an example one invoice number can reference one or more than one items in it. </p><p>0001 is link to 3 Item Below.</p><p>John - Item 1 qty - 5<br />John - Item 2 qty - 2<br />John - Item 3 qty - 1</p><p>If counter is not good way to do it, suggest me something which autoincrement and unique number.</p>]]></description>
			<author><![CDATA[null@example.com (kavinacomputers)]]></author>
			<pubDate>Sat, 13 Jul 2024 17:08:01 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=51219#p51219</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to link selected grid rows to counter in different table?]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=51217#p51217</link>
			<description><![CDATA[<p>Hi,<br />I had a quick look at your project and, unless I&#039;m missing something, I don&#039;t think you need to make it as complicated as you are doing.<br />Specifically, why do you need a separate table just for the &#039;editcounter&#039; when it could simply go on the &#039;linkitems&#039; table.<br />Have a look at the attachment.<br />Regards,<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Sat, 13 Jul 2024 13:58:52 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=51217#p51217</guid>
		</item>
		<item>
			<title><![CDATA[How to link selected grid rows to counter in different table?]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=51216#p51216</link>
			<description><![CDATA[<p>Hello Guys Evening To Everyone.</p><p>I am trying to link multiple selected rows from table grid to counter in counter table.</p><p>Which I don&#039;t know how to do it.</p>]]></description>
			<author><![CDATA[null@example.com (kavinacomputers)]]></author>
			<pubDate>Sat, 13 Jul 2024 12:57:36 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=51216#p51216</guid>
		</item>
	</channel>
</rss>
