Hi all,
I've been looking into how to use master/detail setups in Lazarus (aka tables with foreign keys).
Based on Delphi docs I started writing up & testing this:
Show quoted text 19 lines
I get the form with a combobox for the master field and details grid to run without issue and can insert items in the detail grid but the foreign key to the master table is null for that record.
Am I missing something in the description above or is there another way of doing it (I've read about using the master query's afterscroll event).
Thanks,
Reinier
