E
Ernie
Hello,
Can somebody help me with a problem I have?
I am importing a text file into a data base and the data in the file is
simular to this.
10001007684.tif
10001112414.tif
10001113542.tif
.....etc.
Using Mid([filename],6,6) I pull out the 5th to 11th digits to import into
a numeric (Long Integer) field. In this case..
1007684
1112414
1113542
Works great until someone saves to a name like any of these that when my Mid
formuala is applied creates a non-numeric result that doesn't fit into my
numeric field.
1000007684.tif Mid([filename],6,6)= 07684.
1000112414-2.tif Mid([filename],6,6)= 12414-
1000C1113542.tif Mid([filename],6,6)= C11135
As I cannot put contstraints on how the files are saved what I would like to
do is identify the files that would have non-numeric charaters in them before
I import.
My question is how can I test the results of Mid([filename],6,6) to be
numeric?
Can somebody help me with a problem I have?
I am importing a text file into a data base and the data in the file is
simular to this.
10001007684.tif
10001112414.tif
10001113542.tif
.....etc.
Using Mid([filename],6,6) I pull out the 5th to 11th digits to import into
a numeric (Long Integer) field. In this case..
1007684
1112414
1113542
Works great until someone saves to a name like any of these that when my Mid
formuala is applied creates a non-numeric result that doesn't fit into my
numeric field.
1000007684.tif Mid([filename],6,6)= 07684.
1000112414-2.tif Mid([filename],6,6)= 12414-
1000C1113542.tif Mid([filename],6,6)= C11135
As I cannot put contstraints on how the files are saved what I would like to
do is identify the files that would have non-numeric charaters in them before
I import.
My question is how can I test the results of Mid([filename],6,6) to be
numeric?