Column Formats

J

joseph

Hi all
I want to show total hours worked on a task in hours only.
I'd like to show this format in both a Outlook View and a textbox in a
custom form.
Is this possible? If so, how?
Thanks in advance

Joseph
 
E

Eric Legault [MVP - Outlook]

If you have already added a text box to your custom Task form, display the
properties dialog for that control and click the Value tab. Then choose one
of the first two values in the Format combox box - the ones that don't say
"(Work Time)".

You can also change the display of the TotalWork column in a view by
right-clicking the column header and choose "Format Columns...", and change
the format there as well.
 
J

joseph

Hi
Thanks for that however this hasn't resolved my question. ie Hours only.
For example When entering 0.2 h in the view column, it automatically
converts it to 12mins. I want it to remain showing the hours.'
Can this be done?

Thanks in advance
 
E

Eric Legault [MVP - Outlook]

Okay, I see that the formula in the Total Work field converts to hours - the
four available formats don't do anything for representing a fraction of an
hour if the value is less than one hour. You'll have to create a custom
field, or add a text box on the form, both with this formula:

Round([Total Work]/60,2) & " hours"
 
J

joseph

Where abouts in the textbox properties do I set this? (In the Initial Value??)
Where would I apply this formula set the column in the view to show hours
only?
Thanks in advance



Eric Legault said:
Okay, I see that the formula in the Total Work field converts to hours - the
four available formats don't do anything for representing a fraction of an
hour if the value is less than one hour. You'll have to create a custom
field, or add a text box on the form, both with this formula:

Round([Total Work]/60,2) & " hours"

--
Eric Legault - B.A, MCP, MCSD, Outlook MVP
--
Try Picture Attachments Wizard for Outlook!
http://tinyurl.com/9bby8
--
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/


joseph said:
Hi
Thanks for that however this hasn't resolved my question. ie Hours only.
For example When entering 0.2 h in the view column, it automatically
converts it to 12mins. I want it to remain showing the hours.'
Can this be done?

Thanks in advance
 
E

Eric Legault [MVP - Outlook]

Okay, here's what you do:

Create a new custom field (either by using the New button on the Field
Chooser dialog while in the Task folder, or the New button on the All Fields
tab of your custom form) called Total Work (hours), of type Formula. Enter
this for the formula value:

Round([Total Work]/60,2) & " hours"

Now drag that field onto the form and into the view for the Task folder.

--
Try Picture Attachments Wizard for Outlook!
http://tinyurl.com/9bby8
--
Eric Legault - B.A, MCP, MCSD, Outlook MVP
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/


joseph said:
Where abouts in the textbox properties do I set this? (In the Initial Value??)
Where would I apply this formula set the column in the view to show hours
only?
Thanks in advance



Eric Legault said:
Okay, I see that the formula in the Total Work field converts to hours - the
four available formats don't do anything for representing a fraction of an
hour if the value is less than one hour. You'll have to create a custom
field, or add a text box on the form, both with this formula:

Round([Total Work]/60,2) & " hours"

--
Eric Legault - B.A, MCP, MCSD, Outlook MVP
--
Try Picture Attachments Wizard for Outlook!
http://tinyurl.com/9bby8
--
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/


joseph said:
Hi
Thanks for that however this hasn't resolved my question. ie Hours only.
For example When entering 0.2 h in the view column, it automatically
converts it to 12mins. I want it to remain showing the hours.'
Can this be done?

Thanks in advance



:

If you have already added a text box to your custom Task form, display the
properties dialog for that control and click the Value tab. Then choose one
of the first two values in the Format combox box - the ones that don't say
"(Work Time)".

You can also change the display of the TotalWork column in a view by
right-clicking the column header and choose "Format Columns...", and change
the format there as well.

--
Eric Legault - B.A, MCP, MCSD, Outlook MVP
--
Try Picture Attachments Wizard for Outlook!
http://tinyurl.com/9bby8
--
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/


:

Hi all
I want to show total hours worked on a task in hours only.
I'd like to show this format in both a Outlook View and a textbox in a
custom form.
Is this possible? If so, how?
Thanks in advance

Joseph
 
J

joseph

Thanks Eric
That worked great. Although I would've liked to be able to enter the value
in hours or minutes and automatically display it in hours instead of adding
an extra formula field.
Thanks for your help:)



Eric Legault said:
Okay, here's what you do:

Create a new custom field (either by using the New button on the Field
Chooser dialog while in the Task folder, or the New button on the All Fields
tab of your custom form) called Total Work (hours), of type Formula. Enter
this for the formula value:

Round([Total Work]/60,2) & " hours"

Now drag that field onto the form and into the view for the Task folder.

--
Try Picture Attachments Wizard for Outlook!
http://tinyurl.com/9bby8
--
Eric Legault - B.A, MCP, MCSD, Outlook MVP
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/


joseph said:
Where abouts in the textbox properties do I set this? (In the Initial Value??)
Where would I apply this formula set the column in the view to show hours
only?
Thanks in advance



Eric Legault said:
Okay, I see that the formula in the Total Work field converts to hours - the
four available formats don't do anything for representing a fraction of an
hour if the value is less than one hour. You'll have to create a custom
field, or add a text box on the form, both with this formula:

Round([Total Work]/60,2) & " hours"

--
Eric Legault - B.A, MCP, MCSD, Outlook MVP
--
Try Picture Attachments Wizard for Outlook!
http://tinyurl.com/9bby8
--
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/


:

Hi
Thanks for that however this hasn't resolved my question. ie Hours only.
For example When entering 0.2 h in the view column, it automatically
converts it to 12mins. I want it to remain showing the hours.'
Can this be done?

Thanks in advance



:

If you have already added a text box to your custom Task form, display the
properties dialog for that control and click the Value tab. Then choose one
of the first two values in the Format combox box - the ones that don't say
"(Work Time)".

You can also change the display of the TotalWork column in a view by
right-clicking the column header and choose "Format Columns...", and change
the format there as well.

--
Eric Legault - B.A, MCP, MCSD, Outlook MVP
--
Try Picture Attachments Wizard for Outlook!
http://tinyurl.com/9bby8
--
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/


:

Hi all
I want to show total hours worked on a task in hours only.
I'd like to show this format in both a Outlook View and a textbox in a
custom form.
Is this possible? If so, how?
Thanks in advance

Joseph
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top