Sepehr,
The easiest way is to attach a macro to the 'After Record Action' event
on the sub form's dataform control.
Here is an example that should work in this case.
sub AfterRecordAction_SubForm( oev as object )
dim bkMark as variant
with oev.source.Parent
bkMark = .getBookMark
.reload
.Absolute( bkMark )
end with
end sub
HTH
Andrew 'Drew' Jensen
Sepehr Kiani wrote:
> Hi,
>
> I have a question about sub forms. I have a form I'm trying to make
> that has a formgrid in the main form that lists all the items in a
> table then a subform that expands out the row for data entry. When I
> make changes in the subform they don't reflect on the list
> automatically. I have to reflesh the list to get the changes to
> reflect. Any suggestions on how to make that automatic?
>
> thanks,
>
- [dba-users] Sub form update Sepehr Kiani
- Re: [dba-users] Sub form update Andrew Jensen
- Re: [dba-users] Sub form update Andrew Jensen
