MajP
You've got your good things, and you've got mine.
- Local time
- Today, 01:54
- Joined
- May 21, 2018
- Messages
- 8,994
Two things
1. rsProcessed!RoyaltyAgent_ID_FK = DLookup("agentPK", "tblAgents", "AgentName = 'Capital'")
This line needs to have the correct name of the Main Agency.
If the main agency is Captial1 then this has to match.
They do not currently match
2. The rule is that if the inactive date is LESS THAN the process date then the royalties go to the Main.
You had it equal.
3. If you want to make the rule LESS THAN OR EQUAL then change this to
If InActiveDate < Date Then
to
If InActiveDate <= Date Then
1. rsProcessed!RoyaltyAgent_ID_FK = DLookup("agentPK", "tblAgents", "AgentName = 'Capital'")
This line needs to have the correct name of the Main Agency.
If the main agency is Captial1 then this has to match.
They do not currently match
2. The rule is that if the inactive date is LESS THAN the process date then the royalties go to the Main.
You had it equal.
3. If you want to make the rule LESS THAN OR EQUAL then change this to
If InActiveDate < Date Then
to
If InActiveDate <= Date Then