Hi, How to Get Value from ocx(Calender) (Very Urgent)

Posted by Admin on 08-Oct-2009 06:04

Hi,

How to get value from ocx(Calender)

Can any one guide me

(Its Very Urgent)

Thanks in Advance

Deivaa

All Replies

Posted by Admin on 08-Oct-2009 06:31

How to get value from ocx(Calender)

 

Which Control are you using?

For the Microsoft MonthView Control it's the Value property.

DEFINE VARIABLE dtDate AS DATE NO-UNDO.

ASSIGN dtDate = chCtrlFrameKalender:MonthView:Value.

MESSAGE dtDate

VIEW-AS ALERT-BOX INFO BUTTONS OK.

Posted by Admin on 08-Oct-2009 06:46

Hi,

I am using Microsoft Office Access Calendar Control Version.

In Open Edge 10.1C (OCX Calendar Control).

Thanks.

Posted by Admin on 08-Oct-2009 07:21

Hi,

Thank you very Much Sir.

I got the answer.

DEFINE VARIABLE chCalendar AS COM-HANDLE NO-UNDO.


chCalendar = chCtrlFrame:Calendar.

DISPLAY DATE(chCalendar:MONTH, chCalendar:DAY, chCalendar:YEAR).

Thanks

Deivaa

This thread is closed