pinkpanther6666
Board Regular
- Joined
- Feb 13, 2008
- Messages
- 194
- Office Version
- 365
- Platform
- Windows
I have a Dlookup problem
Shown below are my query results and my form .... i need to populate the HomeTeam2 Pts column with Total of the corresponding Total from the query
i am using the following in the HomeTeams2 Pts Textbox but i am getting #Error
=DLookUp("[Total]","qryFixDarts","[Week] =" & [Forms]![frmFixtures2]![Week] & " And [Team] =" & [Forms]![frmFixtures2]![HomeTeam2])
qryFixDarts
</caption><thead>
</thead><tbody>
</tbody>
<caption> frmFixtures2 </caption><thead>
</thead><tbody>
</tbody><tfoot></tfoot>
Could somebody have a look please
Many Thanks
Steve
Shown below are my query results and my form .... i need to populate the HomeTeam2 Pts column with Total of the corresponding Total from the query
i am using the following in the HomeTeams2 Pts Textbox but i am getting #Error
=DLookUp("[Total]","qryFixDarts","[Week] =" & [Forms]![frmFixtures2]![Week] & " And [Team] =" & [Forms]![frmFixtures2]![HomeTeam2])
Week | Team | Total | CDarts |
---|---|---|---|
1 | TeamA | 12 | 2 |
1 | TeamC | 12 | 2 |
1 | TeamE | 12 | 2 |
</thead><tbody>
</tbody>
Week | HomeTeam2 | Pts | AwayTeam2 | Pts |
---|---|---|---|---|
1 | TeamA | TeamB | ||
1 | TeamC | TeamD | ||
1 | TeamE | TeamF | ||
1 | TeamG | TeamH | ||
1 | TeamJ | TeamK | ||
1 | TeamL | TeamM | ||
1 | TeamN | TeamO | ||
1 | TeamP | TeamQ |
<caption> frmFixtures2 </caption><thead>
</thead><tbody>
</tbody><tfoot></tfoot>
Could somebody have a look please
Many Thanks
Steve