Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DBF table index problem
Message
De
11/10/2005 15:52:30
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
DBF table index problem
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Divers
Thread ID:
01058059
Message ID:
01058059
Vues:
47
Im running the following code:
Dim myConn As New System.Data.Odbc.OdbcConnection("Driver={Microsoft dBASE Driver (*.dbf)};Dbq=c:\")

Dim myCmd As New System.Data.Odbc.OdbcCommand("CREATE TABLE test (filename varchar(240) Unique)", myConn)

myConn.Open()
myCmd.ExecuteNonQuery()
And it errors out because it can only index a field up to 100 length. In foxpro 9, unique fields can be indexed up to 240 length. I really need this field to be above 200 length and be indexed. Is there any workaround?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform