Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set a primary key in a View
Message
 
To
12/11/1998 08:34:14
Carla Silva
Http - Produtos Informaticos, Lda.
Odivelas, Portugal
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00156919
Message ID:
00156922
Views:
30
Carla,

You could try adding a field to the view like RECNO() AS RecNum then setting RecNum as the primary key. I think, however, that you need a primary key to use a view. Views use SQL commands and SQL commands don't work reliably with the record number.

>I need to define a View from a table That do not have a primary Key. How can I define the Recnum number as primary key, because this unique.
>
>
>Thanks
>Carla
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform