K
kosta
Hello!
i have an sql query that works well (returns correct results) when used
in access XP, but does not work from a program... other queries work as
designed.
the query is:
SELECT P.ID, P.Sex, P.First, P.Last, P.CPhone, P.Phone, max(V.PDate) AS
LastVisited
FROM Partyers AS P LEFT JOIN VisitedParties AS V ON P.ID=V.PartyerID
WHERE P.PartyCities LIKE '*SOMECITY*'
GROUP BY P.ID, P.Sex, P.First, P.Last, P.CPhone, P.Phone;
and can also be found at http://pastebin.com/114283
will provide any other info if it is asked for... thanks in advance!
Best Regards,
Kosta.
i have an sql query that works well (returns correct results) when used
in access XP, but does not work from a program... other queries work as
designed.
the query is:
SELECT P.ID, P.Sex, P.First, P.Last, P.CPhone, P.Phone, max(V.PDate) AS
LastVisited
FROM Partyers AS P LEFT JOIN VisitedParties AS V ON P.ID=V.PartyerID
WHERE P.PartyCities LIKE '*SOMECITY*'
GROUP BY P.ID, P.Sex, P.First, P.Last, P.CPhone, P.Phone;
and can also be found at http://pastebin.com/114283
will provide any other info if it is asked for... thanks in advance!
Best Regards,
Kosta.