<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'how to put totals in DBEdit box pls HELP' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'how to put totals in DBEdit box pls HELP' posted on the 'Delphi beginners' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2009 Programmers Heaven</copyright>
    <pubDate>Sat, 21 Nov 2009 11:59:02 -0700</pubDate>
    <lastBuildDate>Sat, 21 Nov 2009 11:59:02 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>how to put totals in DBEdit box pls HELP</title>
      <link>http://www.programmersheaven.com/mb/Delphi/308647/308647/how-to-put-totals-in-dbedit-box-pls-help/</link>
      <description>i'm new in delphi programming i've been trying to figure out how to put my totals with a comma separator example(1,233.00) using  DBEDit box i have this following data Num1, Num2, Totals: Integer and i have a database name testing.db with the ff. fields n1= integer, n2=integer and total=integer i would appreciate any help that you can give me thank you very much... &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Delphi/308647/308647/how-to-put-totals-in-dbedit-box-pls-help/</guid>
      <pubDate>Tue, 12 Jul 2005 18:37:51 -0700</pubDate>
      <category>Delphi beginners</category>
    </item>
    <item>
      <title>Re: how to put totals in DBEdit box pls HELP</title>
      <link>http://www.programmersheaven.com/mb/Delphi/308647/308651/re-how-to-put-totals-in-dbedit-box-pls-help/#308651</link>
      <description>: i'm new in delphi programming i've been trying to figure out how to put my totals with a comma separator example(1,233.00) using  DBEDit box i have this following data Num1, Num2, Totals: Integer and i have a database name testing.db with the ff. fields n1= integer, n2=integer and total=integer i would appreciate any help that you can give me thank you very much... &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
Specify which datasource and datafield to use in the properties of the TDBEdit. And in the properties of the TDataSource specify the correct dataset. Once you did this the totals should be shown.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Delphi/308647/308651/re-how-to-put-totals-in-dbedit-box-pls-help/#308651</guid>
      <pubDate>Tue, 12 Jul 2005 20:28:12 -0700</pubDate>
      <category>Delphi beginners</category>
    </item>
    <item>
      <title>Re: how to put totals in DBEdit box pls HELP</title>
      <link>http://www.programmersheaven.com/mb/Delphi/308647/308653/re-how-to-put-totals-in-dbedit-box-pls-help/#308653</link>
      <description>: : i'm new in delphi programming i've been trying to figure out how to put my totals with a comma separator example(1,233.00) using  DBEDit box i have this following data Num1, Num2, Totals: Integer and i have a database name testing.db with the ff. fields n1= integer, n2=integer and total=integer i would appreciate any help that you can give me thank you very much... &lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: Specify which datasource and datafield to use in the properties of the TDBEdit. And in the properties of the TDataSource specify the correct dataset. Once you did this the totals should be shown.&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
Thanks for your reply!!! &lt;br /&gt;
&lt;br /&gt;
this is what i did my table is connected to my database then datasource is connected to my table then i have dbedit1 = n1, dbedit2 = n2 and dbedit3 = totals &lt;br /&gt;
&lt;br /&gt;
i have this formula encoded dbedit3 := dbedit1 + dbedit2;&lt;br /&gt;
so whenever i put some data in dbedit1 and dbedit2 the totals should appear in dbedit3 automatically could you give some recommendations tnx a lot for your help...&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Delphi/308647/308653/re-how-to-put-totals-in-dbedit-box-pls-help/#308653</guid>
      <pubDate>Tue, 12 Jul 2005 21:22:30 -0700</pubDate>
      <category>Delphi beginners</category>
    </item>
    <item>
      <title>Re: how to put totals in DBEdit box pls HELP</title>
      <link>http://www.programmersheaven.com/mb/Delphi/308647/308728/re-how-to-put-totals-in-dbedit-box-pls-help/#308728</link>
      <description>: : : i'm new in delphi programming i've been trying to figure out how to put my totals with a comma separator example(1,233.00) using  DBEDit box i have this following data Num1, Num2, Totals: Integer and i have a database name testing.db with the ff. fields n1= integer, n2=integer and total=integer i would appreciate any help that you can give me thank you very much... &lt;br /&gt;
: : : &lt;br /&gt;
: : : &lt;br /&gt;
: : : &lt;br /&gt;
: : : &lt;br /&gt;
: : Specify which datasource and datafield to use in the properties of the TDBEdit. And in the properties of the TDataSource specify the correct dataset. Once you did this the totals should be shown.&lt;br /&gt;
: : &lt;br /&gt;
: &lt;br /&gt;
: Thanks for your reply!!! &lt;br /&gt;
: &lt;br /&gt;
: this is what i did my table is connected to my database then datasource is connected to my table then i have dbedit1 = n1, dbedit2 = n2 and dbedit3 = totals &lt;br /&gt;
: &lt;br /&gt;
: i have this formula encoded dbedit3 := dbedit1 + dbedit2;&lt;br /&gt;
: so whenever i put some data in dbedit1 and dbedit2 the totals should appear in dbedit3 automatically could you give some recommendations tnx a lot for your help...&lt;br /&gt;
: &lt;br /&gt;
I would code the Totals as a calculated field based on n1 and n2. This way, when the user edits DBEdit1 or DBEdit2, he edits n1 and n2, which in turn will change the total. Changing the value of a TDBEdit will not help, because the next update of the database will invalidate that change.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Delphi/308647/308728/re-how-to-put-totals-in-dbedit-box-pls-help/#308728</guid>
      <pubDate>Wed, 13 Jul 2005 07:26:27 -0700</pubDate>
      <category>Delphi beginners</category>
    </item>
    <item>
      <title>Re: how to put totals in DBEdit box pls HELP</title>
      <link>http://www.programmersheaven.com/mb/Delphi/308647/315074/re-how-to-put-totals-in-dbedit-box-pls-help/#315074</link>
      <description>var s: string;&lt;br /&gt;
&lt;br /&gt;
s:= IntoStr(StrtoInt(DBEdit1.Text) + strtoint(DBEdit2.Text));&lt;br /&gt;
DBEdit3.Text:= s;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Delphi/308647/315074/re-how-to-put-totals-in-dbedit-box-pls-help/#315074</guid>
      <pubDate>Tue, 13 Sep 2005 10:31:25 -0700</pubDate>
      <category>Delphi beginners</category>
    </item>
    <item>
      <title>Re: how to put totals in DBEdit box pls HELP</title>
      <link>http://www.programmersheaven.com/mb/Delphi/308647/315090/re-how-to-put-totals-in-dbedit-box-pls-help/#315090</link>
      <description>: var s: string;&lt;br /&gt;
: &lt;br /&gt;
: s:= IntoStr(StrtoInt(DBEdit1.Text) + strtoint(DBEdit2.Text));&lt;br /&gt;
: DBEdit3.Text:= s;&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
Setting the DBEdit3 to a variable value won't help, because with the next update from the DBE, the value will be changed again to the value of the linked field. This code would work with normal edits, but not with database edits.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Delphi/308647/315090/re-how-to-put-totals-in-dbedit-box-pls-help/#315090</guid>
      <pubDate>Tue, 13 Sep 2005 12:14:34 -0700</pubDate>
      <category>Delphi beginners</category>
    </item>
  </channel>
</rss>