>But there is a shorter way :
>>>>
>>>>thisform.oleControl1.OBJECT.value = datetime()
>>>>
>>>>Cetin
>
>
>Cetin - this worked like a charm. Thank you. In order to navigate to Next Year I plan to do:
>
>
thisform.oleControl1.Object.value = datetime() + 365
>
>or
>
>thisform.oleControl1.Object.value = datetime() - 365
>
>for the previous year. Would that work?
>
>TIA.
>
>- Ravi
Datetime() do the calculation in seconds.
Use gomonth(datetime(),12)
:-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca