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#

            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


Solved this with;

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

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

Link to home
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