merlynsdad
Programmer
I'm trying to get an IIf expression to give me a null if true, and a result if false. Basically, if a certain event type has a duration of 0:00, I want a blank result, otherwise I want the "time stamp" as my result. I'll use VBA to delete these records, unless there's a way to do that in this expression as well.
The code is as follows:
Idle: Iif(([tblTemp_Event!event_type]=4) AND ([tblTemp_Event!duration]=0:00),"",([time_stamp]))
I'm getting a syntax error. I've also tried the word Null instead of the double quotes with the same result. Any help will be appreciated. Thanks.
If the square peg won't fit in the round hole, sand off the corners.
The code is as follows:
Idle: Iif(([tblTemp_Event!event_type]=4) AND ([tblTemp_Event!duration]=0:00),"",([time_stamp]))
I'm getting a syntax error. I've also tried the word Null instead of the double quotes with the same result. Any help will be appreciated. Thanks.
If the square peg won't fit in the round hole, sand off the corners.