Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is using the DBC a mistake?
Message
From
06/02/2002 09:53:16
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
06/02/2002 09:05:29
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00615842
Message ID:
00616007
Views:
27
>Cetin,
>I agree that all database programmers use the concept of the primary key. However, in FoxPro if there was a problem with the 'primary key' it did not shut the application down and the programmer would usually be able to sort things out. In VFP screens using a table with a primary key will not open if the key has been violated. Granted, I have not always been intelligent in handling primary keys - handling deleted records has caused me nightmares, but it would have been nice if VFP had included a primary key generator and if the code were a little more forgiving in handling primary key violations. Just mouthing off....

Strongly agree VFP could and should have a auto key generator. If PK errors too irritating you could set your index to be regular but check with your own way that it's always unique :)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform