Hi,
I am in the process of converting ADODB to OLEBD and I need advice on how to create an index for my datebase. Below is the code to create the database:
strCMD = "CREATE TABLE SelCrit (" & _
"TRENDING_METHOD varchar (1)," & _
.
.
"TGSN_7 varchar (8)," & _
"TGSN_8 varchar (8)," & _
"TGSN_9 varchar (8)," & _
"TGSN_10 varchar (8)," & _
"PENDING varchar (1))"
cnn = New OleDbConnection(PrepareDBConnectStr(AppDir & "TREND.MDB"))
Dim cmdDatabase As OleDbCommand = New OleDbCommand(strCMD, cnn)
cnn.Open()
cmdDatabase.ExecuteNonQuery()
cnn.Close()
I need to create an index for TGSN_10. I could not find anything on the Web.
Thanks
I am in the process of converting ADODB to OLEBD and I need advice on how to create an index for my datebase. Below is the code to create the database:
strCMD = "CREATE TABLE SelCrit (" & _
"TRENDING_METHOD varchar (1)," & _
.
.
"TGSN_7 varchar (8)," & _
"TGSN_8 varchar (8)," & _
"TGSN_9 varchar (8)," & _
"TGSN_10 varchar (8)," & _
"PENDING varchar (1))"
cnn = New OleDbConnection(PrepareDBConnectStr(AppDir & "TREND.MDB"))
Dim cmdDatabase As OleDbCommand = New OleDbCommand(strCMD, cnn)
cnn.Open()
cmdDatabase.ExecuteNonQuery()
cnn.Close()
I need to create an index for TGSN_10. I could not find anything on the Web.
Thanks