I have found that relationships defined in the DE can conflict with relations defined in the grid. I have found the grid more stable for this. To ensure that the table record points are all pointing to the right records in the parent and child put a SET STEP ON in the code that moves the record pointer and ensure everything is okay. Also ensure you are refreshing either the grid or the form so that the new child records will show.
>Here is the setting:
>
>Table1 is related into Table2.
>Table2 is related into several child tables.
>Forms' parent grid uses Table2 as recordsource.
>
>If I programmatically change the recordsource of the parent grid to Table1, the childgrids go dead (they no longer updates their contents as I move from record to record in the parent grid). All relations are intact after doing this, so why doesn't the childgrids follow the childtables any more?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement