Hi People,
I have a table which has the following fields:
CreateFieldNm , startvalue, endvalue
TEST1 1 56
TEST2 57 120
TEST3 121 245
basically what needs to happend, is when user enter the createfield name , start and endvalues. the code will then go to a another table create a field name called TEST1 and will set the data type as a intger, and will create 56 records wich will start from 1 and will end 56. something like:
TEST1
1
2
3
4
so on.,.. to 56
it will then do the same for the next record, newfield, sametable as before, but newfield called TEST2 , and records from 57 to 120. and on to the next record.
My brain is telling me to use the tabledef object, using the createfield method?. Any ideas on how i can do the above?
Would really appreciate some help on this one please!
Thanks
I have a table which has the following fields:
CreateFieldNm , startvalue, endvalue
TEST1 1 56
TEST2 57 120
TEST3 121 245
basically what needs to happend, is when user enter the createfield name , start and endvalues. the code will then go to a another table create a field name called TEST1 and will set the data type as a intger, and will create 56 records wich will start from 1 and will end 56. something like:
TEST1
1
2
3
4
so on.,.. to 56
it will then do the same for the next record, newfield, sametable as before, but newfield called TEST2 , and records from 57 to 120. and on to the next record.
My brain is telling me to use the tabledef object, using the createfield method?. Any ideas on how i can do the above?
Would really appreciate some help on this one please!
Thanks