We have a database with 152 variables.
Now they want to change this and add 8 new variables
they have them on seperate forms (thats ok)
the variables are named Q1something thru Q152something
they are inserting Q25-Q31 so now we will have to change the table
variables to go from Q1something to Q160 something..
so how can I parse out the numbers after the Q so I can find out
the length of the number
The only thing I can't understand is parsing thru this string how I
can tell if its a number or text.
pos = 0
Num = mid(fld.name, pos + 1,numbercount)
something like this maybe if I can figure out how to count numbers
imbedded in the string
Now they want to change this and add 8 new variables
they have them on seperate forms (thats ok)
the variables are named Q1something thru Q152something
they are inserting Q25-Q31 so now we will have to change the table
variables to go from Q1something to Q160 something..
so how can I parse out the numbers after the Q so I can find out
the length of the number
The only thing I can't understand is parsing thru this string how I
can tell if its a number or text.
pos = 0
Num = mid(fld.name, pos + 1,numbercount)
something like this maybe if I can figure out how to count numbers
imbedded in the string
Comment