Writing and reading files in ORACLE 10i and Forms 6

Hello, I am back to files in ORACLE 10i data base and Oracle Forms 6.
Mabe somebody could help me and tell, how to attach word or excel  (actually type is not playing the main role). Simply, user wants to attach files to his records and I don't even know how to manage it.
Their are two ways: store files within data base or simply store a file's link. Please help me!
I have to write files into DB and read them through Oracle Forms.

Who is Participating?
EE_AutoDeleterConnect With a Mentor Commented:
Because you have presented a solution to your own problem which may be helpful to future searches, this question is now PAQed and your points have been refunded.

SolveAuthor Commented:
Sorry, Oracle 9 ...We only dream about Oracle 10 :)

SolveAuthor Commented:
Thank you, no need to answer to this question anymore!!
I found it myself:
For the rising generation (if somebody still going to use Oracle Forms 6i ... )
simply you need to create BLOB column in your data base table and in the form for this column set
OLE Container type. After you select file, simply write initialize_container('OleItemName', 'FileName');
After execute_query, you see file's icon, witch you are able to open for edit.
I want to refund my question points :)


Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.