M
Mike
I have a table which has an ID field with the text data
type. I would like to query that field and figure out
which records contain strings that can convert to a
number, and which cannot; the ones that can convert to a
number will be used as the row source for a combo box). I
tried using CLng([ID]), and receive an error for the ones
that cannot convert, but that doesn't do me any good,
because the combo box still lists the record in its row
source.
What can I do to make sure only IDs that can convert to a
number are included in the resulting recordset of the
query?
Any help is greatly appreciated.
type. I would like to query that field and figure out
which records contain strings that can convert to a
number, and which cannot; the ones that can convert to a
number will be used as the row source for a combo box). I
tried using CLng([ID]), and receive an error for the ones
that cannot convert, but that doesn't do me any good,
because the combo box still lists the record in its row
source.
What can I do to make sure only IDs that can convert to a
number are included in the resulting recordset of the
query?
Any help is greatly appreciated.