Hi,
I'm using kix together with a MySQL db.
Am able to retrieve, and add values to a table without any problems.

Only the query below doesn't seem to work.
I'm trying to find the last Datetime for a user in the table.
The workstation value can be found numerous time, only the DateTime differs per record
I'm using this query below, but i'm not able to output the found data

This query works fine using a SQL query tool. (also tried to use Max(DateTime) as Time, but.. no go..
Any idea how to fix this?

$recordset = DBGetRecordset($objConn,"SELECT MAX(DateTime) FROM hardware WHERE Workstation='PCName'")

$RC=MessageBox("Last Time: $DateTime","SQl Retrieved Data",48)



Thanx in advance

Tim