Re:Simple Master - Detail Doesn't work
In article <35CAA0F0.F0F15...@giasbm01.vsnl.net.in>,
Bala Iyer <da...@giasbm01.vsnl.net.in> wrote:
Quote
> Andrew Norman wrote:
> > Bala,
> > I had the same problem and for weeks I banged my head against a wall.
> > The reason is that the Apply updates on the master closes the detail
> > query.
> > Andy.
> Andy,
> Were you able to solve the problem, if so then would you kindly let me
> know the solution. Also why does the ApplyUpdates close the detail
> relationship, if you know ?
> Bala
I didn't read you original message, but I presume that you are using the
"datasource" property to link the queries. Why does the ApplyUpdates close
the detail? I wish I knew - it certainly diminishes the usefulness of the
feature. In fact, anything that causes the Master to move its cursor closes
the Detail - this could be a "Next" (which makes sense), but also "Post", and
of course, "ApplyUpdates" (the latter two don't make sense to me). Basically,
it means that you should not use the "datasource" property to establish the
Master/Detail relationship - take care of the openning/closing of the
datasets yourself, and set the parameter values yourself. Cheers DZ
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum