|
-
Aug 24th, 2005, 04:37 AM
#1
Thread Starter
Lively Member
Access -how pass a from data to sub form within a tab control?
Hi,
looking forward for your advice, the situation is like this:
i have master form, namely frmMaster.
within the frmMaster there is a tab control with 2 pages,
each page within the tab control has a sub form,
i.e page 1 of tab control have frmSubA and page 2 have frmSubB
when i press a date button in frmSubA, it come out a new form, frmDate, which have a calendar control, when the user click a date in the calendar control, i want to pass the date value back to a textbox control (i.e txtDate) to frmSubA,
How can i do that?
Last edited by kkc; Aug 24th, 2005 at 11:05 PM.
Reason: resolved
-
Aug 24th, 2005, 08:34 AM
#2
Re: Access -how pass a from data to sub form within a tab control?
How about
VB Code:
frmSubA.txtDate.text = frmDate.Calendar1.Value
-
Aug 24th, 2005, 11:04 PM
#3
Thread Starter
Lively Member
Re: Access -how pass a from data to sub form within a tab control?
Hi Hack,
Thanx for your advice, but your codei s not working for me.
And i manage to get solved it yesterday.
visual basic code:
Application.Forms("frmMaster").Form.frmSubA.Form.txtDOB = calendardate.Value
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|