Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / April 2005

Tip: Looking for answers? Try searching our database.

Copy From Parent past into Sub Fm

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KAnoe - 09 Apr 2005 17:15 GMT
I have a sub form that I would like to put a cmd_btn on so that the user does
not need to copy data from the parent form.

I would like to copy the following from the parent form:

Form: Dep Loss add
Field: DEPInDate

And Past it into the following sub form:

Form: DEP Loss Add Sub Fm
Field: DOE

Any help would be great.
Steve Schapel - 09 Apr 2005 19:58 GMT
KAnoe,

I think code like this will do what you ask.
 Me.DOE = Me.Parent!DEPInDate

Having said that, what you are asking is very unusual.  Normally it is
not necessary or desirable to duplicate data in this way.  It may be
worthwhile to review your design.

Signature

Steve Schapel, Microsoft Access MVP

> I have a sub form that I would like to put a cmd_btn on so that the user does
> not need to copy data from the parent form.
[quoted text clipped - 10 lines]
>
> Any help would be great.
KAnoe - 09 Apr 2005 20:25 GMT
I know but the Parent data can change so I need to keep a record of the old
data. This only happens on abour 10% of my records

Thanks  for your help I will give it a shot.

Keith

> KAnoe,
>
[quoted text clipped - 19 lines]
> >
> > Any help would be great.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.