Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBF table index problem
Message
From
11/10/2005 15:52:30
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
DBF table index problem
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01058059
Message ID:
01058059
Views:
40
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?
Next
Reply
Map
View

Click here to load this message in the networking platform