[Lazarus] Master/detail relationships: what am I missing?

John jszcmpr at netspace.net.au
Tue Dec 18 03:33:24 CET 2012


On 12/17/2012 09:43 PM, Reinier Olislagers wrote:
> <snip>

As you are playing with Master/detail, how are you setting the parameter 
datatype in the detail SQL ?  I am finding that if I set it at design 
time (in the object inspector), that value is not restored on run, or on 
re-poening Lazarus.  I have worked around this by setting it in a 
beforeopen event on the table.  (This has been a problem for years.  It 
used to forget paramtype as well, but this seems to be fixed now)

Also, sometimes, when the master is scrolled, the detail query closes.  
(I have put a check / repoen the detail query in an afterscroll event on 
the master query to work around this).

Are you seeing either of these, or is it just me / my system / my 
application ?

cheers,
John Sunderland




More information about the Lazarus mailing list