G
Guest
I read in Access 2000 that you can write IIf statements.
But what if I would just like to specify an If...Then
statement as criteria. For example I have to compare a
date entered in text format, to a date entered in date
format. The problem is that the dates not consistent,
meaning some months are single digits some are double, so
I cannot use the Left([fieldname],#) function. B/c it
would not be consistent. Therefore I was trying to write
an If statement to count the length, and depending on the
result could abstract the necessary characters and then
accordingly compare the data.
But what if I would just like to specify an If...Then
statement as criteria. For example I have to compare a
date entered in text format, to a date entered in date
format. The problem is that the dates not consistent,
meaning some months are single digits some are double, so
I cannot use the Left([fieldname],#) function. B/c it
would not be consistent. Therefore I was trying to write
an If statement to count the length, and depending on the
result could abstract the necessary characters and then
accordingly compare the data.