Time

P

PaulW

I am fairly new to InfoPath and I am in the current process of transferring
our catalogue of Adobe 7.0 forms onto the much easier InfoPath. I am running
Win XP Pro with InfoPath 2003 SP2. However I am having some issues with these
two issues:

1. Displaying the current time. - I have used the now() function and
formatted the cell to display the time but it is still returing
dd/mm/yyyyThh:mm:ss How can i get this to just show the time?

2. Display the windows username of the current user. I have read several
threads on this, and i think i understand the gereral concerpt, but coming
from a VBA background the and knowing little to none JScript the script
editor is franky bizarre! The field I wish to populate is buried deep into
the form so could i please have clarification that i have coded this
correctly :

XDocument.DOM.selectSingleNode
"/my:myFields/Input/Appointment_Details/AdvisorName").text =
objNetwork.UserName;

Thank you very much in advance for your help.
PaulW
 

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