Hi.
I'm using the Microsoft Date Time Picker control on a form in my vfp6 project. It's an olecontrol and the oleclass is MsComCtl2.DtPicker.2
It works fine - and I've used in plenty of times - but I don't seem to be able to get it to change the contents of a field in a table. When i set the control source, the control displays the correct date (or time if in that mode) but when I change the date or time, even though it displays the new date/time, when I go back to the table the changes have not been made. I know I can write some code in the object 'change' event to write this stuff back to the field - but shouldn't it do that for me?
Can't find any help, or see of anyone else having this problem. Anybody have an answer?
Thanks
Ian.
I'm using the Microsoft Date Time Picker control on a form in my vfp6 project. It's an olecontrol and the oleclass is MsComCtl2.DtPicker.2
It works fine - and I've used in plenty of times - but I don't seem to be able to get it to change the contents of a field in a table. When i set the control source, the control displays the correct date (or time if in that mode) but when I change the date or time, even though it displays the new date/time, when I go back to the table the changes have not been made. I know I can write some code in the object 'change' event to write this stuff back to the field - but shouldn't it do that for me?
Can't find any help, or see of anyone else having this problem. Anybody have an answer?
Thanks
Ian.