How to set programmatically set values of custom added columns 
Author Message
 How to set programmatically set values of custom added columns

Hi,

I am creating a schedule programmatically using C#.

At the time of creating the schedule I am using a template
which has custom added columns.

I want to add values for these custom added columns at the
time of creating schedule.

Pls suggest how this can be achieved?

Regards,
Monica



Fri, 28 Oct 2005 18:56:11 GMT  
 How to set programmatically set values of custom added columns
Hi Monica

To make sure you have the most productive way to achieve this I should know
how these values are presented to the program.

By all means, the following works.
Suppose you want to add values to the .Text21 column

You walk through the tasks of the output file

For each anytask in output_file.tasks
if not anytask is nothing then 'skip emty lines
(you here find the relevant value for that task)
anytask.text21= whatevervalueyouhave
end if 'Is nothing
next anytask

HTH
--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
Project Management Consultancy
Prom+ade BVBA
32-495-300 620


Quote:
> Hi,

> I am creating a schedule programmatically using C#.

> At the time of creating the schedule I am using a template
> which has custom added columns.

> I want to add values for these custom added columns at the
> time of creating schedule.

> Pls suggest how this can be achieved?

> Regards,
> Monica



Fri, 28 Oct 2005 22:06:33 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. programmatically set access column default value?

2. Setting values to Custom Fields on Custom Forms

3. programmatically setting custom field

4. Setting Custom parameters programmatically in crystal reports.net

5. Set custom paper size programmatically ?

6. Setting datagrid column width sets width of toplevel!!

7. setting values in custom tables

8. Set Custom Property Value through a VB Form

9. Setting values in customs properties

10. Setting Custom Property values for Master

11. Setting Custom Property Values

12. Windows forms designer automatically adds code that sets properties of custom controls

 

 
Powered by phpBB® Forum Software