<!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 text="#000000" bgcolor="#ffffff">
If the forms are similar you could use Form inheritance or Frames to
cut down on the number of different entry points. A master form
with all the entry points and validation, with inherited forms
showing different layouts.<br>
<pre class="moz-signature" cols="72">Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
<a class="moz-txt-link-freetext" href="http://www.salespartner.co.nz">http://www.salespartner.co.nz</a>
Follow us on Twitter <a class="moz-txt-link-freetext" href="http://twitter.com/salespartner">http://twitter.com/salespartner</a>
PO Box 13085
Johnsonville
Wellington </pre>
<br>
On 2/06/2011 2:07 p.m., Marshland Engineering wrote:
<blockquote cite="mid:994DEE3947644C9192B7E2D87E33C432@Aquilo"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 8.00.6001.19046">
<style></style>
<div><font face="Arial" size="2">Thanks for the reply. </font></div>
<div> </div>
<div>>Write a procedure for the validation routine in the
DataModule. Then<br>
>call it from the OnKeyPress event in each form.</div>
<div> </div>
<div><font face="Arial" size="2">I have about 20 forms and 10
-20 entry points on each form, so the OnKeyEvent looks like
the long way round. The database is only 20 fields long but
each form shows a particular set of graphic for the action so
the user enters the data in the correct fields. </font></div>
<div> </div>
<div><font face="Arial" size="2">What I would like is to attach
the validation to the data field in the DM. That way I can
also specify a range for the entry which will be common to all
forms.</font></div>
<div> </div>
<div><font face="Arial" size="2">Thanks Wallace.</font></div>
<div> </div>
<div> </div>
<div> </div>
<div><font face="Arial" size="2"> </font></div>
<div><br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: <a class="moz-txt-link-abbreviated" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a>
Admin: <a class="moz-txt-link-freetext" href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a>
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</pre>
</blockquote>
</body>
</html>