Date/Time not retaining value

  • Thread starter Örjan Johansson
  • Start date
Ö

Örjan Johansson

Hi all!

I've created a pretty basic form where I keep track of cases I'm working for
my clients. To this form I added a couple of 'Microsoft Date and Time
Picker Control 6.0 (SP4)' to aid in keeping 'diary entries', so I could pick
a date, and in a textbox next to the control enter some text describing what
I did on that date. The text I enter sticks just fine, but everytime I open
the item, the date/time-box shows todays date, and doesn't retain the value
I picked. In the properties for the control I selected Date/Time for Type,
an apropriate format for Format and Value for Property to use. What am I
missing here?

Any input appreciated!

TIA,
Örjan
 
K

Ken Slovak - [MVP - Outlook]

You must set the initial value of the control based on a saved setting in a
UserProperty or another control that is bound to a UserProperty. Then when
the form closes or the control values are changed you would update the
UserProperty. Otherwise the values in the control are just lost.
 
Ö

Örjan Johansson

Thanks for your input Ken!

It's a bit like Greek to me though, I'm not an experienced programmer. Any
hints on how I would go about doing it? I just get totally confused when I
look at the 'Set initial value'-fields. Clicking the 'edit' button leaves me
even more confused.... :) And should the formula be calculated when I
compose a new form, or 'automatically'?

Thanks again,
Örjan
 

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