自定义字段 [英] Custom field
问题描述
大家好。
任何人都可以告诉我这有什么问题吗?
FilePageSetupHeader Alignment:= pjRight,Text:=" Duration:" &安培; _
ActiveProject.Tasks(1).GetField(Application.FieldNameToFieldConstant( "Text5",pjTask))
谢谢。
Manuela Mendes
什么都不是假设您想要在甘特图视图的标题中显示的持续时间值应该从项目中第一个任务的text5字段中获取。
我不这样做运行此代码时出现任何错误。你收到错误吗?
Brian Kennemer - 项目MVP
DeltaBahn 高级建筑师
无休止地迷恋Project Server ......所以你没必要这么做。
博客 |
Twitter | LinkedIn
Hi everyone.
Can any one tell me what's wrong with this?
FilePageSetupHeader Alignment:=pjRight, Text:="Duration: " & _
ActiveProject.Tasks(1).GetField(Application.FieldNameToFieldConstant("Text5", pjTask))
Thank you.
Manuela Mendes
Nothing is wrong with it assuming the duration value you want to show up in the header of a gantt chart view is supposed to be taken from the text5 field of the first task in the project.
I dont get any error when running this code. Are you getting an error?
Brian Kennemer - Project MVP
DeltaBahn Senior Architect
endlessly obsessing about Project Server…so that you don’t have to.
Blog | Twitter | LinkedIn
这篇关于自定义字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!