<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ok, found the full symptom.<br>
<br>
Its definitely in D7 and D2007 and its a basic functionality failure.<br>
<br>
Once the modified is set due to user edit, it is not reset even when
posted. Its not reset when scrolled either. Unless the new value is
different to the old one. So you keep scrolling and modified remains
set until it hits a record where the value of the field is different
than before. Similarly when you go into insert mode, some of the edits
get their modified set, others do not. <br>
<br>
In the app this paritcular field normally has the same value, hence it
showed up for it.<br>
<br>
Bottom line - CRUD<br>
<br>
Alister Christie wrote:
<blockquote cite="mid:46D62E78.8020603@salespartner.co.nz" type="cite">It's
probably because Modified is a property of TCustomEdit and not related
to any data-awareness.
<br>
>From the Help: Use Modified to determine whether the user changed the
Text <StdCtrls_TCustomEdit_Text.html> property of the edit
control. Modified is only reset to *False* when you assign a value to
the Text <StdCtrls_TCustomEdit_Text.html> property. In
particular, it is not reset when the control receives focus.
<br>
<br>
Alister Christie
<br>
Computers for People
<br>
Ph: 04 471 1849 Fax: 04 471 1266
<br>
<a class="moz-txt-link-freetext" href="http://www.salespartner.co.nz">http://www.salespartner.co.nz</a>
<br>
PO Box 13085
<br>
Johnsonville
<br>
Wellington <br>
<br>
<br>
Rohit Gupta wrote:
<br>
<blockquote type="cite">In both D7 and D2007, just on dbedit on one
form has a sticky modified property. Once the value is changed, the
modified goes to true and stays there. Even after post, cancel or
scroll, until the form is killed. Obviously, there is nothing in any
event that modifies the value.... only the user does.
<br>
<br>
Has anyone come across this or can postulate a reason for it ?
<br>
<br>
<br>
-- <br>
*Rohit Gupta*
<br>
* B.E. Elec. M.E. Mem IEEE Associate IEE*
<br>
*Technical Manager*
<br>
*Computer Fanatics Limited*
<br>
** *Tel* +64 9 4892280
<br>
*Fax* +64 9 4892290
<br>
*Email *rohit@cfl.co.nz <a class="moz-txt-link-rfc2396E" href="mailto:rohit@cfl.co.nz"><mailto:rohit@cfl.co.nz></a>**
<br>
*Web *www.cfl.co.nz <a class="moz-txt-link-rfc2396E" href="http://www.cfl.co.nz/"><http://www.cfl.co.nz/></a>
<br>
<br>
------------------------------------------------------------------------
<br>
This email and any attachments contain information, which is
confidential and may be subject to legal privilege and copyright. If
you are not the intended recipient, you must not use, distribute or
copy this email or attachments. If you have received this in error,
please notify us immediately by return email and then delete this email
and any attachments.
<br>
------------------------------------------------------------------------
<br>
<br>
_______________________________________________
<br>
NZ Borland Developers Group - Delphi mailing list
<br>
Post: <a class="moz-txt-link-abbreviated" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a>
<br>
Admin: <a class="moz-txt-link-freetext" href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a>
<br>
Unsubscribe: send an email to <a class="moz-txt-link-abbreviated" href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with
Subject: unsubscribe
<br>
------------------------------------------------------------------------
<br>
<br>
No virus found in this incoming message.
<br>
Checked by AVG Free Edition. Version: 7.5.484 / Virus Database:
269.12.10/977 - Release Date: 28/08/2007 4:29 p.m.
<br>
</blockquote>
_______________________________________________
<br>
NZ Borland Developers Group - Delphi mailing list
<br>
Post: <a class="moz-txt-link-abbreviated" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a>
<br>
Admin: <a class="moz-txt-link-freetext" href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a>
<br>
Unsubscribe: send an email to <a class="moz-txt-link-abbreviated" href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with
Subject: unsubscribe
<br>
<br>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<title>Signature</title>
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2900.2802" name="GENERATOR">
<div align="left">
<div align="left"><strong><font size="2"><font color="#666666"
face="Verdana">Rohit Gupta</font></font></strong></div>
<div align="left"><strong><font size="2"><font color="#666666"
face="Verdana">
B.E. Elec. M.E. Mem IEEE
Associate IEE</font></font></strong></div>
<div align="left"><strong><font size="2"><font color="#666666"
face="Verdana">Technical Manager</font></font></strong></div>
<div align="left"><strong><font color="#666666" face="Verdana" size="2">Computer
Fanatics Limited</font></strong></div>
<div align="left"><strong></strong> </div>
<div align="left"><font color="#666666" face="Verdana" size="2"><strong>Tel</strong>
+64 9 4892280</font></div>
<div align="left"><font color="#666666" face="Verdana" size="2"><strong>Fax</strong>
+64 9 4892290</font></div>
<div align="left"><font color="#666666"><font face="Verdana" size="2"><strong>Email
</strong></font><a href="mailto:rohit@cfl.co.nz"><font color="#0080ff"
face="Verdana" size="2">rohit@cfl.co.nz</font></a></font><font
color="#666666"><font face="Verdana" size="2"><strong></strong></font></font></div>
<div align="left"><font color="#666666"><font face="Verdana" size="2"><strong>Web
</strong></font><a href="http://www.cfl.co.nz/"><font color="#0080ff"
face="Verdana" size="2">www.cfl.co.nz</font></a></font></div>
<div> </div>
<div>
<hr></div>
<div align="left"><span
style="font-size: 7.5pt; color: rgb(153, 153, 153); font-family: Verdana;"><font
size="1"><span style="font-size: 10pt; font-family: 'Courier New';"
lang="EN-NZ"><font color="#000000"><font color="#808080" face="Verdana"
size="1">This email and any attachments contain information, which is
confidential and may be subject to legal privilege and copyright. If
you are not the intended recipient, you must not use, distribute or
copy this email or attachments. If you have received this in error,
please notify us immediately by return email and then delete this email
and any attachments.</font> <o:p></o:p></font></span></font></span></div>
</div>
</div>
</body>
</html>