Activex OCX [message #302369] |
Mon, 25 February 2008 06:25 |
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 #302572 is a reply to message #302369] |
Tue, 26 February 2008 03:26 |
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
|
|
|
|