.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> SharePoint >> Post New QuestionBookmark and Share Subscribe to Forum

Workflow in sharepoint

Posted By: swati1412     Posted Date: February 17, 2011    Points:2   Category :SharePoint
hi all,

i have created one list in MOSS. there are 4 columns driver name, vehicle no, start km & end km.
My question is when user enter driver name & vehicle no then end Km of previous Item for that perticular vehicle no should automaticaly fetch in Start KM of new item.


for eg.
driver name vehicle no Start KM End KM
xyz MH-4567 123 456
asc MH-4567 456 678


Responses
Author: Sunil Yadav       [Moderator]      
Posted Date: February 17, 2011     Points: 5   

Hi,

This can be achieved by creating custom fields for entering drive info.

Follow the link below.

http://msdn.microsoft.com/en-us/library/bb684919(v=office.12).aspx

http://www.u2u.net/res/Article.aspx?ART=CRMSharePointCustomField

Let me know if you need any help.

Author: swati1412             
Posted Date: February 17, 2011     Points: 5   

Thanks for your help sunil.
but actually i dont want To update that item.
suppose there are 20 requests in list for cab.
new User Raise the request for cab. traveldesk will allocate the cab of No MH12-AL1412 for that user. when traveldesk update the cab No in there list then list should search All Previous items for the same cab No. & letest one request' end km fetch To start km of new item.
I am new in moss so please if you have walkthrouh for the same please give me that link.
I am using visual studio 2005.





Author: Sunil Yadav       [Moderator]      
Posted Date: February 17, 2011     Points: 5   

with same concept you can achieve your goal.

Let me know where you are facing problem.

Author: swati1412             
Posted Date: February 18, 2011     Points: 5   

how to deploy it on site?


Author: Sunil Yadav       [Moderator]      
Posted Date: February 18, 2011     Points: 5   

It's a custom field control. You will be using this control when creating new item or editing item.

You create a feature to deploy.Once deployed use the same columns in your list. In this case it will a user control with the fields driver name,vehicle no and Km.

hope this helps.



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend