Home » Developer & Programmer » Forms » Wants to create a txt file through forms and then want to read its data through Forms (Forms 6i, 6, Windows Xp)
Wants to create a txt file through forms and then want to read its data through Forms [message #307809] Thu, 20 March 2008 01:02 Go to next message
azamkhan
Messages: 557
Registered: August 2005
Senior Member
Dear Friends,

I want to create a text file through FORMS with data of some items that i have used in my FORM.

Then after saving it I want to read that data from this text file through FORMS.

Pleae provide me a simple example.

Regards,
Azam Khan
Re: Wants to create a txt file through forms and then want to read its data through Forms [message #307860 is a reply to message #307809] Thu, 20 March 2008 03:33 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
Why? Here's what I would do: put the data from form 1 in a table and read from that table from form 2. No need to fiddle with text files.

MHE
Re: Wants to create a txt file through forms and then want to read its data through Forms [message #307868 is a reply to message #307860] Thu, 20 March 2008 03:51 Go to previous messageGo to next message
azamkhan
Messages: 557
Registered: August 2005
Senior Member
Thanks for your reply but no thanks because I need to read a text file when I open one of my form to do some user configuration.

Any ways I have found a way. For help of others read about TEXT_IO PACKAGE.

Regards,
Azam Khan
Re: Wants to create a txt file through forms and then want to read its data through Forms [message #307874 is a reply to message #307868] Thu, 20 March 2008 04:04 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
Thanks for the feedback. I'm not a fah of file handling in Forms but good that you found a solution.

MHE
Re: Wants to create a txt file through forms and then want to read its data through Forms [message #307947 is a reply to message #307874] Thu, 20 March 2008 08:48 Go to previous messageGo to next message
karunakar_adepu84
Messages: 43
Registered: January 2008
Member
Hi Friend,
I wants to know how it is comes
please help me.
will U please send me the fmb plz.
otherwise please giude me how to do.
Re: Wants to create a txt file through forms and then want to read its data through Forms [message #308198 is a reply to message #307947] Fri, 21 March 2008 23:34 Go to previous message
azamkhan
Messages: 557
Registered: August 2005
Senior Member
Dear friend,

You will find FMB file in the attachment. This file holds a simple example of how to read and write data to a text file.

Regards,
Azam Khan
Previous Topic: How to display Serial number adjacent to employees table help plsss
Next Topic: oc4j error
Goto Forum:
  


Current Time: Sat Dec 14 01:16:12 CST 2024