CharlesWhiteman
Registered User.
- Local time
- Today, 17:00
- Joined
- Feb 26, 2007
- Messages
- 421
I'm trying to convert the following query and use DAO, can anyone ploint me in the right way in constructing the same but using DAO, or suggest the/another best way?
Code:
INSERT INTO TblRadAcctLocal ( RadAcctId, MacAddress, FramedIPAddress )
SELECT Max(radacct.RadAcctId) AS MaxOfRadAcctId, TblRads.MacAddress, radacct.FramedIPAddress
FROM TblRads INNER JOIN radacct ON TblRads.MacAddress = radacct.UserName
GROUP BY TblRads.MacAddress, radacct.FramedIPAddress;