Home » Developer & Programmer » Forms » Activex OCX (Forms 6i)
Activex OCX [message #302369] Mon, 25 February 2008 06:25 Go to next message
Joneto
Messages: 13
Registered: February 2008
Location: Portugal
Junior Member
Hi,

I try create simple example: http://www.orafaq.com/forum/t/48699/0/

But error....

----------

DECLARE
v_day NUMBER;
v_mon NUMBER;
v_year NUMBER;
BEGIN
v_day := MSCAL_ICALENDAR.DAY(:ITEM('CALENDAR_BLOCK.MS_CALENDAR').Interface); <-- error
v_mon := MSCAL_ICALENDAR.MONTH(:ITEM('CALENDAR_BLOCK.MS_CALENDAR').Interface); <-- error
v_year := MSCAL_ICALENDAR.YEAR(:ITEM('CALENDAR_BLOCK.MS_CALENDAR').Interface); <-- error
:calendar_block.txt_date_selected :=
TO_DATE (LPAD (TO_CHAR (v_day), 2, '0') || LPAD (TO_CHAR (v_mon), 2, '0') || TO_CHAR (v_year)
, 'DDMMYYYY');
END;
---
error: Identifier 'MSCAL.CALENDAR' must be declared

Where i declared?

When i import library forms 6i create this pack:

PACKAGE MSACAL_CONSTANTS IS
SUBTYPE ICalendar IS OleObj;
SUBTYPE DCalendarEvents IS OleObj;
SUBTYPE Calendar IS OleObj;
END;

How i used this pack?
MSACAL_CONSTANTS.ICalendar <-- is error

help...

Regards

Joneto
Re: Activex OCX [message #302503 is a reply to message #302369] Mon, 25 February 2008 23:50 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have you followed all the steps that are listed in the thread that you referenced? Please verify them and make sure you have the spelling correct.

Please confirm that you are using Forms 6i.

David
Re: Activex OCX [message #302572 is a reply to message #302369] Tue, 26 February 2008 03:26 Go to previous messageGo to next message
Joneto
Messages: 13
Registered: February 2008
Location: Portugal
Junior Member
Hi,

I write correct.

my version:

Forms [32 Bit] Version 6.0.8.13.0 (Production)
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Oracle Toolkit Version 6.0.8.12.1 (Production)
PL/SQL Version 8.0.6.0.0 (Production)
Oracle Procedure Builder V6.0.8.12.1 Build #520 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 6.0.7.1.0 - Production
Oracle Virtual Graphics System Version 6.0.5.37.0 (Production)
Oracle Tools GUI Utilities Version 6.0.5.35.0 (Production)
Oracle Multimedia Version 6.0.5.34.0 (Production)
Oracle Tools Integration Version 6.0.8.13.0 (Production)
Oracle Tools Common Area Version 6.0.5.32.1
Oracle CORE Version 4.0.6.0.0 - Production

Any solutions?

Regards

Joneto
Re: Activex OCX [message #302739 is a reply to message #302572] Tue, 26 February 2008 19:20 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Try PMing the original poster.

David
Previous Topic: How i can union cells in excel?
Next Topic: Print Form
Goto Forum:
  


Current Time: Mon Feb 03 02:43:53 CST 2025