Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Views with FPW2.6 Tables.
Message
 
To
13/01/1999 15:36:15
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00175663
Message ID:
00175689
Views:
32
>I am starting a project to develop some tools in VFP5 that will utilise tables concurrently used by a FPW2.6a system. Whilst I can access the tables as "free tables", I would like to base the new tools on Views based on the 2.6 tables. The 2.6 tables all have a Codebook 2.6 psuedo-primary key field cID c(9), which has ID's generated by Codebook's NetID() function. Therefore, there is a unique key value in the 2.6 table. Does anyone have any experience with this approach? I have read in the VFP help that views need a "primary key" in the source table to allow accurate/successfull updates. Will the 2.6 cID field value do? Any comments/tips/ideas very much appreciated.

There is no special requirement for the ID field - it just needs to be unique. It is similar to having an index, wanting to update a record and issuing a seek to find it. The view will assume the first record found is the one you want. So, as long as your field is unique, it will do.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform