Date/Time not retaining value

  • Thread starter Thread starter Örjan Johansson
  • Start date 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
 
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.
 
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
 
Back
Top