hello
I hope someone can help me on this
i am trying to create fields in a tabledef
but the name of the fields is created dynamically
is it possible
here is an example of what i am trying todo nd obviously it does not work
thanks in advance for your suggestions and help
Lina
Do While (i < nbrChamps)
j = i +1
Set chp3 = dft.CreateField(["n" & j ], dbInteger, 3)
Set chp4 = dft.CreateField(["rt" & k ], dbInteger, 3)
dft.Fields.Append chp3
dft.Fields.Append chp4
i = i + 2
Loop
I hope someone can help me on this
i am trying to create fields in a tabledef
but the name of the fields is created dynamically
is it possible
here is an example of what i am trying todo nd obviously it does not work
thanks in advance for your suggestions and help
Lina
Do While (i < nbrChamps)
j = i +1
Set chp3 = dft.CreateField(["n" & j ], dbInteger, 3)
Set chp4 = dft.CreateField(["rt" & k ], dbInteger, 3)
dft.Fields.Append chp3
dft.Fields.Append chp4
i = i + 2
Loop