No problem here using Access 2003. How and when are you setting the record
source for the subform? At design time or in one of the form's events?
Also, how is defined the primary key for SalesOrderLines table?
Finally, if you are not to use any stored procedure, I don't see why you are
using ADP instead of a MDB/ACCDB file with ODBC Linked Tables/Views. Much
more easier.
--
Sylvain Lafontaine, ing.
MVP - Windows Live Platform
Email: sylvain2009 sylvainlafontaine com (fill the blanks, no spam please)
Independent consultant and remote programming for Access and SQL-Server
(French)
"Edgar" <(E-Mail Removed)> wrote in message
news

A891414-12F0-45E3-BD5E-(E-Mail Removed)...
> Both the master and the detail form have a table as recordsource, no
> stored
> procedures.
>
> --
> Thanks,
>
> Edgar
>
>
> "Sylvain Lafontaine" wrote:
>
>> If you are still on Access 2000 then upgrade to 2003. If not, then
>> what's
>> the exact record source that you are using for both the form and the
>> subform? It looks like to me that you're not using a stored procedure
>> for
>> your subform.
>>
>> --
>> Sylvain Lafontaine, ing.
>> MVP - Windows Live Platform
>> Email: sylvain2009 sylvainlafontaine com (fill the blanks, no spam
>> please)
>> Independent consultant and remote programming for Access and SQL-Server
>> (French)
>>
>>
>> "Edgar" <(E-Mail Removed)> wrote in message
>> news:CCEAD55B-55BA-434E-BB45-(E-Mail Removed)...
>> > Dear all,
>> >
>> > I have a ADP with master-detail forms, like a form SalesOrder, and
>> > subform
>> > SalesOrderLines. The link between them has been made with master/child
>> > fields, e.g. SalesOrderID.
>> >
>> > If a filter by form is applied on the master form, the lines in the
>> > child
>> > form are not refreshed (I mean the wrong lines for the header are
>> > shown).
>> > It
>> > still shows the lines for the first record it showed before the filter
>> > was
>> > applied. Also when browsing through the filtered records (moving to
>> > next
>> > and
>> > previous records), the subform is not refreshed.
>> >
>> > Is this a bug, and hopefully there is a solution for it, or am I doing
>> > something wrong?
>> >
>> > Thanks,
>> >
>> > Edgar
>>
>>
>>