Please..pls...pls someone fix this pls ...before I slit my wrists and gun down my co-workers......
Me.txtCurrentUsage = DLookup("[numUsers]", "tableSystemUsage", "[systemID] = " & Me![cboSelectSystem].Column(1) And DateValue([usageDate])=#7/15/2008#")
ERROR: "compile error - expect list separator or )"
table: tableSystemUsage
field: systemID (number)
field: usageDate (date/time)
field: numUser (number)
-systemID and usageDate are an Access composite key.
-I need to retrieve the number of system users for a given unique combo of systemID and MAX of usageDate
-I hard coded the date for now to simplify the stupid criteria expresssion.
signed...
"*#(*&jelkJ0934987&"
Code:
Code:
ERROR: "compile error - expect list separator or )"
table: tableSystemUsage
field: systemID (number)
field: usageDate (date/time)
field: numUser (number)
-systemID and usageDate are an Access composite key.
-I need to retrieve the number of system users for a given unique combo of systemID and MAX of usageDate
-I hard coded the date for now to simplify the stupid criteria expresssion.
signed...
"*#(*&jelkJ0934987&"