Home » Developer & Programmer » Forms » Import *.TXT data into Oracle Form (Database 10G developer 6I, Window Xp )
Import *.TXT data into Oracle Form [message #387665] Fri, 20 February 2009 04:08 Go to next message
shahzaib_4vip@hotmail.com
Messages: 376
Registered: December 2008
Location: karachi
Senior Member
Hellow All Members


I want to import data into form which relate to txt format like this

31200804052103 020000750053 04

31 is not important
2008 is year
04 is month
05 is date
2103 is time (21:03)

02 is out going time (01 will be in coming time)
0000750053 is card number of employee

and 04 is machine number

now i need

to copy this data into my form

how can i do this


Please Help me


Thanks

Shahzaib Ismail

Re: Import *.TXT data into Oracle Form [message #387668 is a reply to message #387665] Fri, 20 February 2009 04:14 Go to previous messageGo to next message
shahzaib_4vip@hotmail.com
Messages: 376
Registered: December 2008
Location: karachi
Senior Member
Sorry the file relate to *.dat file but i always open this file into notpad

Please find the attachment to know the data of dat file which is coming from machine





  • Attachment: listR.dat
    (Size: 9.79KB, Downloaded 294 times)
Re: Import *.TXT data into Oracle Form [message #387715 is a reply to message #387668] Fri, 20 February 2009 06:32 Go to previous messageGo to next message
Littlefoot
Messages: 20900
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I'd load flat file into an Oracle database by SQL*Loader (or using the external tables feature), create a form data block based on the loading target table, execute query in a form.
Re: Import *.TXT data into Oracle Form [message #387716 is a reply to message #387665] Fri, 20 February 2009 06:33 Go to previous messageGo to next message
cookiemonster
Messages: 12415
Registered: September 2008
Location: Rainy Manchester
Senior Member
Do you want to copy it into the form or do you really want to copy it into a database table?

Is the file format absolutely fixed or can it be changed? .csv would be easier to work with.
Re: Import *.TXT data into Oracle Form [message #387766 is a reply to message #387665] Fri, 20 February 2009 08:58 Go to previous messageGo to next message
shahzaib_4vip@hotmail.com
Messages: 376
Registered: December 2008
Location: karachi
Senior Member
@Cookie monster


How can i change my *.dat file into *.csv file i import data from *.csv in oracle form

which is in that format

12-dec-09,smith,7788,3500,1200,7786

date,name,empno,sal,comm,mgr

i am be able to add this type of data into form

but the file which i am mension is not in this format

its look like this

31200804052103 020000750053 04

How can i import data into form ?


Thanks

Shahzaib
Re: Import *.TXT data into Oracle Form [message #387767 is a reply to message #387665] Fri, 20 February 2009 09:00 Go to previous messageGo to next message
shahzaib_4vip@hotmail.com
Messages: 376
Registered: December 2008
Location: karachi
Senior Member
@Little foot


Please Explain Completely

I Create a form data data block based on the loading target table


Now what can i do? how can i execute ? Please Explain


Thanks


Shahzaib
Re: Import *.TXT data into Oracle Form [message #387816 is a reply to message #387767] Fri, 20 February 2009 13:33 Go to previous messageGo to next message
Littlefoot
Messages: 20900
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
We have already discussed a problem which regards Forms and SQL*Loader - search the board, see what's been said and try to implement it to your problem.
Re: Import *.TXT data into Oracle Form [message #387975 is a reply to message #387816] Sun, 22 February 2009 14:09 Go to previous message
Littlefoot
Messages: 20900
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
As discussion lead to SQL*Loader domain, the topic has been split; it continues in the Server Utilities forum, right here.

This topic is now locked for further discussion. If it ever becomes related to Forms, please, send me a private message and it will be unlocked.
Previous Topic: check date
Next Topic: Few typical queries
Goto Forum:
  


Current Time: Thu Dec 08 00:36:48 CST 2016

Total time taken to generate the page: 0.09997 seconds