How to generate .dbf (dBase iv) File through Oracle forms or PL/SQLl [message #424053] |
Wed, 30 September 2009 01:57 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
m.bhatkrishna@gmail.com
Messages: 6 Registered: September 2009
|
Junior Member |
|
|
Hi all,
How generate .dbf (database file format of the Foxpro-dBASE IV) through oracle forms or Pl/sql. I am using oracle forms 10g/database 10g.
I have sample query, output of the query should saved as .dbf file. later output of thsi query is used in foxpro database.
I have tried using generate output .csv first nad later converted to .dbf file using text_io. but it did nott workout.
Please help me regarding this
Regards
Krishna
|
|
|
|
|
|
Re: How to generate .dbf (dBase iv) File through Oracle forms or PL/SQLl [message #437698 is a reply to message #437540] |
Tue, 05 January 2010 10:47 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
murugub
Messages: 7 Registered: December 2009
|
Junior Member |
|
|
Dear David,
My requirement is as follows. One of our client is using our oracle 10g forms based application. For statuary purpose, some details from the oracle table has to be populated into Dbase file(DBF III file format). They don't want any user intervention on that. it has to be automated through oracle forms. How can I achieve this. I am searching for a long time. Still I didn't get any solution for that. Please put a deep light on that and try to provide me a solution
Thanks in advance
Muruganandhan
|
|
|
Re: How to generate .dbf (dBase iv) File through Oracle forms or PL/SQLl [message #437700 is a reply to message #437698] |
Tue, 05 January 2010 11:16 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
And what formats can DBase handle? What format is a "dbf" file?
If an DBase "dbf" file is anything like an oracle "data file", then it is not possible directly.
You will have to write a format that DBase can understand (csv, xml, sylk, ...) from Oracle, and then run an Import job on the DBase side. (maybe called in a batch job called by forms in some way in the final version.)
|
|
|
|
Re: How to generate .dbf (dBase iv) File through Oracle forms or PL/SQLl [message #437727 is a reply to message #437703] |
Tue, 05 January 2010 18:35 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
I suspected that was the case. Might be possible to do if the customer gives
- sufficient time
- sufficient money
- sufficient reason
to do it, but using a "standard" format data exchange file (or possibly a client library that can access both databases, or even generated SQL statements to be executed against DBase) would be the quicker, easier and most likely more robust solution.
|
|
|
|