[DUG] Editing date from two tables

Edward Koryagin ed_iv2001 at yahoo.co.nz
Mon Dec 7 13:38:47 NZDT 2009


Just change in cycle DataSource for all TDBEdit controls in your form.

Edward Koryagin


--- On Mon, 7/12/09, Marshland Engineering <marshland at marshland.co.nz> wrote:

> From: Marshland Engineering <marshland at marshland.co.nz>
> Subject: [DUG] Editing date from two tables
> To: delphi at delphi.org.nz
> Received: Monday, 7 December, 2009, 1:00 PM
> 
> 
>  
>  
> 
> 
>  
> I have a table called tblJob. 
> 
> I have two dbgrids displaying the 
> data from tblJobs, tblJobByCustomer and tblJobByDay. 
> 
> I have an editing 
> Form for changing the data using dbEditBox's. 
>  
> 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,
>  
> and how do I find the data record in tblJobByDay when
> looking at 
> tblJobByCustomer. They are actually the same data as stored
> in tblJob
> 
> 
> Thanks Wallace. 
>  
> 
> -----Inline Attachment Follows-----
> 
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz
> with Subject: unsubscribe


      



More information about the Delphi mailing list