G
Gil, Not the Fish
I am doing calculations that have many different solutions and I would like
to save the solutions to different tables. It is unknown how many solutions
there will be. I wanted to create a table for each solution (216 entries
each) so I put this code in after a solution was reached.
intSolutNum=intSolutNum+1
strSolutNum=Str(SolutNum)
strFileName="Solution" & strSolutNum
strSQL="Create Table " & strFileName & " (Myfield Number)"
The code works to create a table if all I have is "Solution" for the Table
Name but as soon as I try to add the Number to the filename it gives me a
syntax error. Is there some other format for to add a number after each
table name. Or is there another way to go at the whole thing?? Thanx for
any help
to save the solutions to different tables. It is unknown how many solutions
there will be. I wanted to create a table for each solution (216 entries
each) so I put this code in after a solution was reached.
intSolutNum=intSolutNum+1
strSolutNum=Str(SolutNum)
strFileName="Solution" & strSolutNum
strSQL="Create Table " & strFileName & " (Myfield Number)"
The code works to create a table if all I have is "Solution" for the Table
Name but as soon as I try to add the Number to the filename it gives me a
syntax error. Is there some other format for to add a number after each
table name. Or is there another way to go at the whole thing?? Thanx for
any help