Re: Transfer Data From Pop Up to Main Form
- From: "Albert D. Kallal" <PleaseNOOOsPAMmkallal@xxxxxxx>
- Date: Mon, 9 Feb 2009 17:26:26 -0700
"JD McLeod" <JDMcLeod@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D65BD5F1-3E83-49DD-9BF2-0905FE14507B@xxxxxxxxxxxxxxxx
I have a form called "time ***". When the user wants to calculate the
total hours worked, they click on a command button that launches another
pop-up form "time calculation" which allows them to enter in the start and
ending time. It then calculates the total hours worked. I would like for
this data on "time calculation" to be transferred to the "total hours
worked"
field on the form "time ***" when the "time calculation" form is closed.
Any advice is much appreciated. Thanks.
Two ways:
1) - in the time calculation form on the close event, simply stuff values
back:
eg:
forms![time ***]!HoursWorkd = me!HoursWorked
forms![time ***]!DaysWorked = me!DaysWorked
etc.....
2) - open target form as acDialog, have you code wait until user is done,
and then
grab values from that form.
I explain this here:
http://www.members.shaw.ca/AlbertKallal/Dialog/Index.html
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@xxxxxxx
.
- Follow-Ups:
- Re: Transfer Data From Pop Up to Main Form
- From: JD McLeod
- Re: Transfer Data From Pop Up to Main Form
- References:
- Transfer Data From Pop Up to Main Form
- From: JD McLeod
- Transfer Data From Pop Up to Main Form
- Prev by Date: RE: SubTotals on Forms
- Next by Date: Re: Do I need to use a Web Service to hook up An Access Front End to SQL Server?
- Previous by thread: Transfer Data From Pop Up to Main Form
- Next by thread: Re: Transfer Data From Pop Up to Main Form
- Index(es):