Delphi Master, Detail, Sub Detail

Calvin Day
Calvin Day used Ask the Experts™
on
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#
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Calvin DayEngineer, Programmer

Author

Commented:
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?
Software architect
Top Expert 2012
Commented:
Sometimes even Delphi components have a bugs...
Calvin DayEngineer, Programmer

Author

Commented:
No solution found, queried my way out of it, using client datasets.
Calvin DayEngineer, Programmer

Author

Commented:
When in doubt, brute force;p

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial