I have 2 tables, the LoginInfo table which holds a user's login name and password and the LoginAttempt table which holds his login attempts. The two tables are linked together on the UserID field in a one-to-many relationship.
Assuming each record in the LoginAttempt table contains a DateAttempted field, how would I use LLBL to return a joined result set which included one record per user containing the Username field from the LoginInfo table and the Status field from the LoginAttempt table of just his last login attempt (based on the DateAttempted field)?
In other words, if the username "John" had 5 login attempts with the last one being successful and "Mary" had 3 login attempts with the last one being a failure, the query should return the results of only the last attempt, e.g.:
User | Status
John | OK
Mary | Failed