Hi I'm having a few problems with the correct syntax for one or another functions.
basically the db is reading training data in from a logcard, cleaning up the data and writing statistics based on that logbook to a form.
one of the fields provided that statistic for the fastest 5km rowing time
Code:
=DomMin("TrgDuration";"tab_logcard";"TrgDistance = 5000")
now the problem comes when i try to return the date for the same value:
The SQL for that could work as
Code:
SELECT tab_Logcard.TrgDate
FROM tab_Logcard
WHERE (((tab_Logcard.TrgDuration)=DMin("TrgDuration","tab_logcard","TrgDistance =5000")));
I thought that would translate as:
Code:
dlookup(trgDate; tab_LogCard;DomMin("TrgDuration";"tab_logcard";"TrgDistance = 5000"))
but its just returning a #NAME msg.
is the criteria too complex
what would be another solution ?
note:
german syntax changes dmin/dommin