Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting error on primary key..
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00347282
Message ID:
00347357
Views:
21
Lisa,

>Here is something else to think about..I have multiple data directories. This file is fine the the other directories. In this directory, however, we are trying to convert some data in from our DOS based software. I checked in another directory (that hadn't been converted into) and it will let me add the '00000a' index. This is the only "unique" index on this file.

I see only two possibilities, since you confirmed that you are ZAPping the table before importing.

1) The index expression contains UPPER as someone else suggested

2) The value being generated by your routine is either generated as UPPERcase, or is being converted to UPEPRcase as it is stored. Is this done by a field DEFAULT value which calls a function? What is the DEFAULT value? Could it be UPPER(FunctionCall) perhaps?
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform