harolda1980
Gebruiker
- Lid geworden
- 7 aug 2007
- Berichten
- 488
Code:
SELECT Last(tblload.periode) AS lstp, tblload.type, tblload.Groothandel, tblload.jaar FROM tblload GROUP BY tblload.type, tblload.Groothandel, tblload.jaar HAVING tblload.type='" & cbsoort.Value & "' AND tblload.Groothandel='" & cbgroothandel.Value & "' AND tblload.jaar=" & Huidigejaar & ";"
De volgende code gebruik ik om de laatste periode naar boven te halen in mijn Mysql database. Alleen geeft hij een foutmelding over dit onderstaande deel.
Code:
Last(tblload.periode) AS lstp
Wat gaat hier niet goed"?