J
Johnny Bright
Hi there,
I need to find the third record in a query. This is my basic select query:
SELECT tblGuests.GID, tblGuests.Date
FROM tblGuests
ORDER BY tblGuests.GID, tblGuests.Date;
There are several thousand records in tblGuests, some Guests (GID) have just
one record, others have 20 or more. I've thought of DateDiff function but
that doesn't seem to work. I have also thought that I need to find only
records where there are more than 2 records for a certain GID so I can filter
out the Guests who have only visited 1 or 2 times using the count function
but have no idea how to do this either.
Any help is greatly appreciated!
I need to find the third record in a query. This is my basic select query:
SELECT tblGuests.GID, tblGuests.Date
FROM tblGuests
ORDER BY tblGuests.GID, tblGuests.Date;
There are several thousand records in tblGuests, some Guests (GID) have just
one record, others have 20 or more. I've thought of DateDiff function but
that doesn't seem to work. I have also thought that I need to find only
records where there are more than 2 records for a certain GID so I can filter
out the Guests who have only visited 1 or 2 times using the count function
but have no idea how to do this either.
Any help is greatly appreciated!