Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Project Server Custom Field - Need to get the value from the database column

$
0
0

Hi All

I am unable to use SQL statement inorder to get the sequence number (Column in SQL) by passing the ProjUID/Proj Name.

I have used code block activity in the Project Server Sequential Workflow and in the code block I am trying to write the SQL Statement

cmd.CommandText =

'Select Proj_Sequence from dbo.MSP_Projects where Proj_Name='"+ProjectNameAlias + "'";

Where ProjectNameAlias is a Custom field. I need to get the value from the ProjectNameAlias and pass it to the Proj_Name in the SQL and get the sequence number.

I request to help on urgent basis as I am breaking my head from last three days for the same.


Viewing all articles
Browse latest Browse all 5347

Trending Articles