<?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 — Report with variables]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=4110</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=4110&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Report with variables.]]></description>
		<lastBuildDate>Mon, 05 Mar 2018 10:48:13 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Report with variables]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=24354#p24354</link>
			<description><![CDATA[<p>Hello.</p><br /><p>Check it out</p><div class="codebox"><pre><code>procedure TesourClube_Button6_OnClick (Sender: TObject; var Cancel: boolean); // Recibo Tesouraria
var
    s: string;
begin
    s := TesourClube.Edit1.Text;
    frmlogin.frxReport.Variables.Clear;
    frmlogin.frxReport.Variables[&#039; &#039; + &#039;My Category 1&#039;] := Null;
    frmlogin.frxReport.Variables[&#039;Clube&#039;] := &#039;&#039;&#039;&#039;+s+&#039;&#039;&#039;&#039;;
end;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (DriveSoft)]]></author>
			<pubDate>Mon, 05 Mar 2018 10:48:13 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=24354#p24354</guid>
		</item>
		<item>
			<title><![CDATA[Report with variables]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=24336#p24336</link>
			<description><![CDATA[<p>How can i get some textbox on a report? SOmething like this, for instance</p><p>procedure TesourClube_Button6_OnClick (Sender: TObject; var Cancel: boolean); // Recibo Tesouraria</p><p>var<br />edClube: string;<br />begin<br />&nbsp; &nbsp; edClube := &#039;&#039; + tesourclube.edit1.text;<br />&nbsp; &nbsp; frmlogin.frxReport.Variables.Clear;<br />&nbsp; &nbsp; frmlogin.frxReport.Variables[&#039; &#039; + &#039;ParRecibo&#039;] := Null;<br />&nbsp; &nbsp; frmlogin.frxReport.Variables[&#039;Clube&#039;] := edClube;</p><p>end;</p><p>When i try to preview the variable in the report i get this error message</p>]]></description>
			<author><![CDATA[null@example.com (opercap)]]></author>
			<pubDate>Fri, 02 Mar 2018 19:08:01 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=24336#p24336</guid>
		</item>
	</channel>
</rss>
