N
Nick T
Hi,
I have a customer details database & i want a query which when opened will
just show my customers whos date of birth is next month:
This is my current SQL:
SELECT [Client Details].CustomerID, [Client Details].FirstName, [Client
Details].LastName, [Client Details].Address, [Client Details].Town, [Client
Details].PostalCode, [Client Details].DateofBirth, Format$([Client
Details].DateofBirth,'mmmm') AS [DateofBirth By Month]
FROM [Client Details]
ORDER BY Format$([Client Details].DateofBirth,'mmmm');
Is there some code i can add, so that eg. if i open the query in Janurary,
it shows me customers whos birthday is in February etc.
Also, i cant seem to sort them by month, ie, Jan, Feb, March, Apr..... if i
set to sort assending, it simply does it alphabetically.
Any help would be great.
Thanks
I have a customer details database & i want a query which when opened will
just show my customers whos date of birth is next month:
This is my current SQL:
SELECT [Client Details].CustomerID, [Client Details].FirstName, [Client
Details].LastName, [Client Details].Address, [Client Details].Town, [Client
Details].PostalCode, [Client Details].DateofBirth, Format$([Client
Details].DateofBirth,'mmmm') AS [DateofBirth By Month]
FROM [Client Details]
ORDER BY Format$([Client Details].DateofBirth,'mmmm');
Is there some code i can add, so that eg. if i open the query in Janurary,
it shows me customers whos birthday is in February etc.
Also, i cant seem to sort them by month, ie, Jan, Feb, March, Apr..... if i
set to sort assending, it simply does it alphabetically.
Any help would be great.
Thanks