|
|
Popup Form Launched from SubForm Button and New Record Sync
A subform (continuous) has a button, repeated on each row,
to pop up a filtered (synchronised) form. When the popup
comes to a new record, I'd like it to sync with the record
on the subform that popped it up. But the subform is used
in several different main forms, so I'd like to avoid using
the main form's name in the code. I've tried naming the
subform directly, but can't seem to get a spark.
If Me.NewRecord then
Me![txtIvDetId]= Form![My-still open-Subform]![txtIvDetId]
End If
But I can't seem to make it work.
Any suggestions appreciated.
--
Thanks,
tbl
|
|
0
|
|
|
|
Reply
|
tbl
|
9/7/2007 9:21:39 PM |
|
On Fri, 7 Sep 2007 15:18:03 -0700, SteveM
<SteveM@discussions.microsoft.com> wrote:
>Look at the Access help for OpenArgs.
>
>When you open the form with DoCmd.OpenForm, you can include avalue in the
>7th argument. You can then use that value in your form/subform without having
>to reference the calling form.
>
>Steve
>
>"tbl" wrote:
>
>> A subform (continuous) has a button, repeated on each row,
>> to pop up a filtered (synchronised) form. When the popup
>> comes to a new record, I'd like it to sync with the record
>> on the subform that popped it up. But the subform is used
>> in several different main forms, so I'd like to avoid using
>> the main form's name in the code. I've tried naming the
>> subform directly, but can't seem to get a spark.
>>
>> If Me.NewRecord then
>>
>> Me![txtIvDetId]= Form![My-still open-Subform]![txtIvDetId]
>>
>> End If
>>
>>
>> But I can't seem to make it work.
>>
>> Any suggestions appreciated.
Thanks Steve. That seems to work very well.
--
tbl
|
|
0
|
|
|
|
Reply
|
tbl
|
9/10/2007 2:45:40 PM
|
|
|
1 Replies
419 Views
(page loaded in 0.063 seconds)
Similiar Articles: Popup Form Launched from SubForm Button and New Record Sync ...A subform (continuous) has a button, repeated on each row, to pop up a filtered (synchronised) form. When the popup comes to a new record, I'd like it to sync with ... Button to Add Record to subform from main form - microsoft.public ...Popup Form Launched from SubForm Button and New Record Sync ... Add a new record via a popup form - microsoft.public.access ... Popup Form Launched from SubForm Button and ... Synchronize subforms - microsoft.public.access.formsPopup Form Launched from SubForm Button and New Record Sync ... A subform (continuous) has a button, repeated on each row, to pop up a filtered (synchronised) form. Add a new record via a popup form - microsoft.public.access ...Popup Form Launched from SubForm Button and New Record Sync ... Add a new record via a popup form - microsoft.public.access ... Popup Form Launched from SubForm Button and ... Sync subforms - microsoft.public.accessPopup Form Launched from SubForm Button and New Record Sync ... A subform (continuous) has a button, repeated on each row, to pop up a filtered (synchronised) form. synch listbox - microsoft.public.access.formscodingPopup Form Launched from SubForm Button and New Record Sync ... synch listbox - microsoft.public.access.formscoding synchronize sub forms - microsoft.public.access.forms ... Popup form update to parent form - microsoft.public.access ...Popup Form Launched from SubForm Button and New Record Sync ... Solved: Access 2007 Subform Control - Tech Support Guy Forums Ive got a button on the parent form that i ... Can't Enter New Record in Subform - microsoft.public.access ...Popup Form Launched from SubForm Button and New Record Sync ... Can't Enter New Record in Subform - microsoft.public.access ... Sync subforms - microsoft.public.access Can ... Main Form/Subform/Command Button to Open Another Form - microsoft ...Button to Add Record to subform from main form ... Button to Open Another Form - microsoft ..... cetain record by ... on another form - microsoft ... Open Subform in a New ... Opening another form from a popup form. - microsoft.public.access ...Popup Form Launched from SubForm Button and New Record Sync ... Synchronize subforms - microsoft.public.access.forms Popup Form Launched from ... Opening another form from ... Popup Form Launched from SubForm Button and New Record Sync ...A subform (continuous) has a button, repeated on each row, to pop up a filtered (synchronised) form. When the popup comes to a new record, I'd like it to sync with ... Button to Add Record to subform from main form - microsoft.public ...Popup Form Launched from SubForm Button and New Record Sync ... Add a new record via a popup form - microsoft.public.access ... Popup Form Launched from SubForm Button and ... Form/Subform sync - PC Review - Computer News and ReviewsPopup Form Launched from SubForm Button and New Record Sync: tbl: Microsoft Access Form Coding: 2: 10th Sep 2007 03:45 PM: Sync Main FORM with SubForm =?Utf-8?B?c2FwNG9yYQ==?= MS Access: Refresh the contents of a subform whenever the record ...MS Access: Refresh the contents of a subform whenever the record in the main form ... refresh whenever you change the record in the form. Click on the button with the ... GoToRecord on a subform... - PC Review - Computer News and Reviewsposition the form B record). Form B includes Subform A and has all fields for one row. Popup ... and Form A/B gets focus w/ B showing the new >record. ... to sync the two ... 7/26/2012 12:05:06 PM
|
|
|
|
|
|
|
|
|