Hi,
I would like my form (in a formset) to show parent records in text fields and child records in a grid but I simply can't get it to work. I set up the relation like (I don't use the database designer):
sele FAKT_POST && child
set order to tag REF_NR
sele FAKT && parent
set order to tag REF_NR
set relation to REF_NR into FAKT_POST
The problem is that the grid is stuck on one child record regardless of what record the parent shows. I'm using skip controls (vcr from ffc) to move in the parent table.
I have tried with and without entering "Linkmaster" and relationalexpr" in the grid properties. I that needed or is the same as setting up a relation?
I thought this would be simple :-( Can anyone give me a hint?
Thanks,
Micael
I would like my form (in a formset) to show parent records in text fields and child records in a grid but I simply can't get it to work. I set up the relation like (I don't use the database designer):
sele FAKT_POST && child
set order to tag REF_NR
sele FAKT && parent
set order to tag REF_NR
set relation to REF_NR into FAKT_POST
The problem is that the grid is stuck on one child record regardless of what record the parent shows. I'm using skip controls (vcr from ffc) to move in the parent table.
I have tried with and without entering "Linkmaster" and relationalexpr" in the grid properties. I that needed or is the same as setting up a relation?
I thought this would be simple :-( Can anyone give me a hint?
Thanks,
Micael