master/detail key fields question



If I have 2 database tables that are set up as master/detail and am using a
TAdoDataSet for each one and have them set up as master/detail, is it
possible to have the detail dataset automatically insert the appropriate
master ID into its new records rather than having to do that in code?

Here's the table setup:

tblMaster.MasterID

tblDetail.DetailID
tblDetail.MasterID (to match the tblMaster.MasterID)

Thanks,

Keith


.



Relevant Pages

  • Re: upload a file in gridview, etc.
    ... I have a form that has a master/detail ... relationship identified with a gridview and detail view. ... allow me to upload pictures. ... It depends on what database, how big files are, how many, etc ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Index Page
    ... > You want a 'master/detail' model. ... >> I want to create an index consisting of the first field in my database ... i already have a submition form and items that go into the ...
    (alt.php)
  • Master/detail in asp.net 2.0
    ... Is there an asp.net 2.0 master/detail example available that I can check? ... just need to see how the new controls work and make it easier to do ... Regards ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)