Link to home
Start Free TrialLog in
Avatar of Calvin Day
Calvin DayFlag for United States of America

asked on

Delphi Master, Detail, Sub Detail

Don't understand why this would not work?

JobList Master Source

        JobScheduleList Master Source
      Job# -> Job#

            JobSchedule
            Job# -> Job#
            Schedule# - > Schedule#

            This errors Table JobList does not have field Schedule#
Avatar of Calvin Day
Calvin Day
Flag of United States of America image

ASKER

Solved this with;

procedure TScheduleJobf.wwtSchedListAfterScroll(DataSet: TDataSet);
begin
  tSched.Filter := 'SchedNo = ' + wwtSchedList.FieldByName('SchedNo').Text;
  tSched.Filtered := True;
 
end;

Works fine, though I still wonder why the previous approach wouldn't work?
ASKER CERTIFIED SOLUTION
Avatar of Sinisa Vuk
Sinisa Vuk
Flag of Croatia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No solution found, queried my way out of it, using client datasets.
When in doubt, brute force;p