Click here to Skip to main content
15,890,185 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys!

I hope you can give me an advise.

1. I created in SQL server 2 tables - ProjectTbl and PersonTbl..
2. ProjectTbl has PersonID as a FK.

When user want to see Projects I can create a view in SQL server and show him PersonFirstName and PersonLastName instead of PersonID

But when User tries to create new record , instead of PersonID he has to see PersonLastName and PersonFirstName -it has to be lookup field with the data from PersonTbl.

But I can not change the settings for this field in the List Settings in SharePoint 2010, neither add new column.

Did anybody try anything similar? Any ideas?

Elena.
Posted
Comments
Guptha Ch 4-Dec-14 5:05am    
Hi, Are you connecting to the SQL view using BCS?
Elena_100 4-Dec-14 11:40am    
Sorry... did not see REPLY button

I connected to the SQL server using External Content Types in Share Point Developer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900