Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help on duplicate key
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Help on duplicate key
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01000949
Message ID:
01000949
Views:
67
Hi to All,

I need help about this 'scenario'.
In a Data Form, I manage an MS SQL Table with a PK.
I manage this Table with a Cursor Adapter, created with CA Builder (is a class).
How can I to verify, when the record is new and immediatly after I enter the primary Code, that this Code isn't duplicate ? This PK isn't automatically generated.
The control on the duplicate key is currently active only when I try to save and this isn't interesting for me.

Thank you for help and any code suggestion.

Best Regards
Nino
Next
Reply
Map
View

Click here to load this message in the networking platform