What problem raised ? [message #82926] |
Thu, 17 July 2003 23:34 |
Fico
Messages: 26 Registered: July 2002
|
Junior Member |
|
|
What problem raised ?
Follow these steps:
1. Create a new form
2. Create a new control_block
3. Create a new canvas
4. Enter layout editor
5. Drag a text_item into new canvas , named text_item12
6. Drag a push_button into new canvas
7. In when_button_pressed triger of push_button add code:
select to_char(sysdate) into :text_item12 from dual;
8. Click run button , Compile error ora-00600.
Why it can not work ?
|
|
|
|
Re: What problem raised ? [message #83131 is a reply to message #82928] |
Sun, 10 August 2003 02:39 |
prashant
Messages: 122 Registered: September 2000
|
Senior Member |
|
|
go into the property pallette of the text item and change the data type to date bcoz by default the data type of text items is set to char.
Thanks
Bye
|
|
|