Hello, can anybody help or give me a hint.
I have a main form and two subforms.
In the last subform a field called "Member" should select from a lookup table (combine many-to-many) with the following recordsource SQL:
SELECT Person.Medlemsnr, Person.Etternavn, Person.Fornavn
FROM Person
WHERE (((Person.KorpsID)=[Forms]![Reg05-Tilhorighet]![KorpsID]));
This works great the first time, but when the key on the main form changes it keeps the old lookup data, so I have to go in and out of the main form in order for it to work.
Any suggestions will be much appreciated. I am a beginner in access, so I know very little of how to manipulate properties and subroutines.
Regards Jon.
I have a main form and two subforms.
In the last subform a field called "Member" should select from a lookup table (combine many-to-many) with the following recordsource SQL:
SELECT Person.Medlemsnr, Person.Etternavn, Person.Fornavn
FROM Person
WHERE (((Person.KorpsID)=[Forms]![Reg05-Tilhorighet]![KorpsID]));
This works great the first time, but when the key on the main form changes it keeps the old lookup data, so I have to go in and out of the main form in order for it to work.
Any suggestions will be much appreciated. I am a beginner in access, so I know very little of how to manipulate properties and subroutines.
Regards Jon.