<?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 — multi-dimensional arrays]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=6327</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=6327&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in multi-dimensional arrays.]]></description>
		<lastBuildDate>Mon, 01 Jun 2020 11:05:55 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: multi-dimensional arrays]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=36441#p36441</link>
			<description><![CDATA[<p>Thanks Derek,</p><br /><p>It never occurred to me to use a calculated field. I&#039;ll have to study it carefully and think of ways to take the output straight to the email body.</p><p>My current incarnation does what I need,&nbsp; but only if one item is attached to a PO, because the SQL query returns all items that are attached to a PO (which of course is what I want) I have yet to succeed in getting that into the email body.&nbsp; Hence my thoughts going towards a multi dimensional array.</p><br /><p>In an ideal world, if the export to Excel could be persuaded to export directly to an email, I&#039;d be buying the cats expensive food for a week! <img src="https://myvisualdatabase.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><br /><p>How did you disable events in your demo program?&nbsp; I went to fiddle and there is no event tab appearing in the object inspector. Perhaps you are using a different build?</p>]]></description>
			<author><![CDATA[null@example.com (CDB)]]></author>
			<pubDate>Mon, 01 Jun 2020 11:05:55 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=36441#p36441</guid>
		</item>
		<item>
			<title><![CDATA[Re: multi-dimensional arrays]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=36439#p36439</link>
			<description><![CDATA[<p>Hi CDB,<br />Perhaps do it with a calculated field - something along the lines of the attached?<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Mon, 01 Jun 2020 10:42:03 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=36439#p36439</guid>
		</item>
		<item>
			<title><![CDATA[multi-dimensional arrays]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=36436#p36436</link>
			<description><![CDATA[<p>As MVD doesn&#039;t allow multi-dimensional arrays, is there a work - a - round other than declaring a number of individual strings and then concatenating them together?</p><br /><p>Basically I&#039;m building the body of an email text. I need to read in 4 columns of a database and then display them as one string, and repeat this for however many rows I need to read in.</p><br /><p>My thinking was to read in 4 columns and assign them to one row and then use a TStringlist to add each complete row and then use the &#039;text&#039; method&nbsp; of the TStringlist to be the&nbsp; &#039;body&#039; of the email.</p><br /><p>So in&nbsp; the database I have - column 1, column 2 column 3&nbsp; on each row.</p><p>I need to &#039;format&#039; this so that in the email&nbsp; it looks like one &#039;sentence&#039; and repeat this for however many rows have the information I need to send.</p><br /><p>I thought about using a non visible Rich Text Box and then using that result as the body of an email, but that seems to be an unnecessary step.</p>]]></description>
			<author><![CDATA[null@example.com (CDB)]]></author>
			<pubDate>Mon, 01 Jun 2020 07:33:24 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=36436#p36436</guid>
		</item>
	</channel>
</rss>
