R
ricky
Hi
Probably a simple query, but how do I check for the start of a field begins
with a numeric.
i.e
SELECT
Table1.ID1,
Table1.field1,
Table1.field2,
Table1.field3,
IIf((Left([Table1].[field3],1) Between 0 And 9),"numeric",[Table1].[field3])
AS Expr1
FROM Table1;
Bascially, I just want to flag the records, which have been corrupted,
however when running this query, it places "numeric" in the field correctly
for the TRUE portion of the IIf statement, but I get an #Error, for the
other fields, which do not start with a numeric?
Any ideas?
Kind Regards
Ricky
Probably a simple query, but how do I check for the start of a field begins
with a numeric.
i.e
SELECT
Table1.ID1,
Table1.field1,
Table1.field2,
Table1.field3,
IIf((Left([Table1].[field3],1) Between 0 And 9),"numeric",[Table1].[field3])
AS Expr1
FROM Table1;
Bascially, I just want to flag the records, which have been corrupted,
however when running this query, it places "numeric" in the field correctly
for the TRUE portion of the IIf statement, but I get an #Error, for the
other fields, which do not start with a numeric?
Any ideas?
Kind Regards
Ricky