Hi,
i'm having troubles getting data from a master-detail related tables when a new detail is added and index in VFP detail or master table isn't updated yet (why is another story).
select m.master, m.detail, d.detail_data
from md_master m
inner join md_detail d
where m.master = XX and m.detail = d.detail
Is there a way to do (according to VFP help the answer is NO) something like NOOPTIMIZE with LOCATE, since unoptimized LOCATE finds the new detail in md_detail or md_master table and SELECT statement doesn't? Opening and closing tables does not help and updateing (which refreshes the indexes) is not an option since both tables are strictly opened readonly.
Thanks in advance,
Andrej
i'm having troubles getting data from a master-detail related tables when a new detail is added and index in VFP detail or master table isn't updated yet (why is another story).
select m.master, m.detail, d.detail_data
from md_master m
inner join md_detail d
where m.master = XX and m.detail = d.detail
Is there a way to do (according to VFP help the answer is NO) something like NOOPTIMIZE with LOCATE, since unoptimized LOCATE finds the new detail in md_detail or md_master table and SELECT statement doesn't? Opening and closing tables does not help and updateing (which refreshes the indexes) is not an option since both tables are strictly opened readonly.
Thanks in advance,
Andrej