Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding the PK of the main table in a multitable view
Message
From
19/12/2007 04:43:05
John Thomason
King Richard Veterinary Centre
Leicester, United Kingdom
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01276165
Message ID:
01276557
Views:
23
>Maybe I'm missing the point, but can't you just include the table's primary key in the view?
>
>Best Regards,

Thanks for replying Kevin.
The table's PK is included in the view. I need to retrieve the PK when clicking on a record in the view so that I can synchronize the view with the primary table. If I use a datagridview for navigation which is populated by the primary table I get a list of memberids rather than names so I'm unable to make a choice for deletion for instance. I hope that makes more sense.

Perhaps you would be good enough to answer another question without me starting another thread - I am trying to use a mmdatetimepicker to input a date. The sql table data type is "datetime". When I try and save a record I get the error that the date is not within the permitted range.


Thanks,

John
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform