Ahmed.H.Qasim
New member
- Local time
- Today, 02:03
- Joined
- Mar 20, 2020
- Messages
- 19
"I have a peculiar issue... I have a table named 'amanat' with daily data... and another table 'fordate'. I want to sum the values of the field 'pamount' based on the date 'ta'. It executes for some dates and doesn't for others, as shown in the attachment.
The desired idea: Sum the 'pamount' values from the 'amanat' table that are on or before the specified date in 'fordate'. I have constructed the following query:
DSum("pamounts", "amanat", "pdate <= #" & [ta] & "#")"
3.5
The desired idea: Sum the 'pamount' values from the 'amanat' table that are on or before the specified date in 'fordate'. I have constructed the following query:
DSum("pamounts", "amanat", "pdate <= #" & [ta] & "#")"
3.5