Hey everyone,
I'm stuck on getting data into a table. I'm importing data into a recordset and there is a date field which is optional in some cases. When passing that date from the source table to the destination table, I get "type mismatch" for an error when a blank value is passed. Now, is the data being passed were null, the Nz function would take care of it. However, the data being passed is a zero-length character, and Nz doesn't work on those
. I've tried wrapping CDate around the source text, but that doesn't help either. Does anyone know if there is something like Nz for zero-length characters, or a way to work around this? Thanks!
I'm stuck on getting data into a table. I'm importing data into a recordset and there is a date field which is optional in some cases. When passing that date from the source table to the destination table, I get "type mismatch" for an error when a blank value is passed. Now, is the data being passed were null, the Nz function would take care of it. However, the data being passed is a zero-length character, and Nz doesn't work on those