Home » Developer & Programmer » Forms » how to generate report output in excel file
how to generate report output in excel file [message #173814] Wed, 24 May 2006 10:47 Go to next message
vikasg2006
Messages: 80
Registered: March 2006
Location: Dubai
Member
hy
how to get output of any query in excel through d2k forms like which we get in SQL TOOLS. i don't wan't csv file. i need output in EXCEL file.
thanks
Re: how to generate report output in excel file [message #173875 is a reply to message #173814] Thu, 25 May 2006 00:38 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
Option 1: get a CSV, open it in Excel and save as XLS.
Option 2: Use an ODBC connection and start from Excel to get the external (Oracle) data via a query in Excel. I don't know the correct Excel terminology but it comes down to this.
Option 3: Use SYLK, another file format but readable by Excel and with limited formatting options
Option 4: Use TOAD or the like to export to Excel.

Is this even remotely Forms related?

MHE
Re: how to generate report output in excel file [message #174030 is a reply to message #173875] Thu, 25 May 2006 11:35 Go to previous messageGo to next message
vikasg2006
Messages: 80
Registered: March 2006
Location: Dubai
Member
hy
no this is not related to remote. actually what i want is as every body knows reports is printed for management persons. and they don't like to run reports (d2k inbuit report)and print output. they need just click the button and excel sheet open which fetched data and they give print command. how can we do this. Also there is no inbuilt template in D2K report which has table/line structure..means line after every row and column just like excel( grid). is there any site where we can download more template.
vikas
Re: how to generate report output in excel file [message #174040 is a reply to message #173814] Thu, 25 May 2006 12:58 Go to previous messageGo to next message
Bill B
Messages: 1971
Registered: December 2004
Senior Member
You can use forms and the forms OLE package to directly write into an excel file.
Re: how to generate report output in excel file [message #174126 is a reply to message #174040] Fri, 26 May 2006 01:27 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
I'm sorry, I didn't quite get it. so you want: Create an Excel sheet from Forms.

Moved back to Forms.

MHE
Re: how to generate report output in excel file [message #174222 is a reply to message #174126] Fri, 26 May 2006 10:21 Go to previous messageGo to next message
vikasg2006
Messages: 80
Registered: March 2006
Location: Dubai
Member
hy
ya u r rit. i want output in excel through d2k forums. (for example in one button we write a curson select * from emp;') and when we click on the button output generate on excel sheet)
thanks
vikas
Re: how to generate report output in excel file [message #174514 is a reply to message #174222] Mon, 29 May 2006 07:42 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Search this forum for 'ole2' there are numerous examples.

David
Previous Topic: FRM-11009 Forms Error
Next Topic: Multi Record block question--Very Urgent
Goto Forum:
  


Current Time: Fri Sep 20 11:28:38 CDT 2024