We help IT Professionals succeed at work.

Delphi Master, Detail, Sub Detail

Calvin Day
Calvin Day asked
on
118 Views
Last Modified: 2018-04-20
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

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
CERTIFIED EXPERT
Top Expert 2012
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
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