I’m attempting to create a table and indexes against certain fields in the table with the following.
‘Create T_XStatB
CurrentDb.Execute “CREATE TABLE T_XStatBX ( ” & _
“Seq INTEGER, ” & _
“Val REAL, ” & _
“FlagTw REAL, ” & _
“Slope REAL, ” & _
“SlopeAbs REAL, ” & _
“Crossover INTEGER);”
‘Create Indexes
CurrentDb.Execute “CREATE INDEX StatBIndex ” & _
“ON T_XStatBX (Val,FlagTW);”
I have no problem creating the table and fields in the table along with a single field index, but when I try to include multiple field indexes using a single SQL (i.e. (Val,FlagTW)), it doesn’t work. Am I doing something wrong?
Thanks in advance for any help!
Drew