<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META name=GENERATOR content="MSHTML 8.00.6001.18828">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV dir=ltr align=left><FONT color=#800000 size=2 face=Verdana><SPAN
class=041455322-07122009>Also, depending on your database and tdataset
derivative capabilities, look for methods like:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#800000 size=2 face=Verdana><SPAN
class=041455322-07122009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#800000 size=2 face=Verdana><SPAN
class=041455322-07122009>.FlushBuffers (on the table just
updated)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#800000 size=2 face=Verdana><SPAN
class=041455322-07122009>.Refresh (on the other table)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#800000 size=2 face=Verdana><SPAN
class=041455322-07122009>.GotoCurrent (to synchronise the cursors if
needed)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#800000 size=2 face=Verdana><SPAN
class=041455322-07122009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#800000 size=2 face=Verdana><SPAN
class=041455322-07122009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#800000 size=2 face=Verdana><SPAN
class=041455322-07122009>Steve</SPAN></FONT></DIV><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #800000 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Marshland Engineering
[mailto:marshland@marshland.co.nz] <BR><B>Sent:</B> Monday, 7 December 2009
1:01 p.m.<BR><B>To:</B> delphi@delphi.org.nz<BR><B>Subject:</B> [DUG] Editing
date from two tables<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>I have a table called tblJob. <BR><BR>I have two dbgrids displaying the
data from tblJobs, tblJobByCustomer and tblJobByDay. <BR><BR>I have an editing
Form for changing the data using dbEditBox's. </DIV>
<DIV> </DIV>
<DIV>How can I use the same Form for editing both tables ? It's like I need to
set the form property to the relevant DataSource rather than each
dbEditBox,</DIV>
<DIV> </DIV>
<DIV>and how do I find the data record in tblJobByDay when looking at
tblJobByCustomer. They are actually the same data as stored in tblJob</DIV>
<DIV><FONT size=2></FONT><FONT size=2></FONT><BR><BR>Thanks Wallace. </DIV>
<P><FONT size=2 face=Arial>No virus found in this incoming message.<BR>Checked
by AVG - www.avg.com<BR>Version: 8.5.426 / Virus Database: 270.14.72/2511 -
Release Date: 12/06/09 07:30:00<BR></FONT></P>
<P><FONT size=2 face=Arial></FONT></P></BLOCKQUOTE></BODY></HTML>