Export BO to Excel


Author
Message
Juan Carlos Pazos
Juan Carlos Pazos
StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)StrataFrame User (310 reputation)
Group: Forum Members
Posts: 144, Visits: 227
Hi

I use many times information from SF forums and many times when I had some question, someone help me a lot; so I think in contribute a routine that can you use in your applications. Hope someone benefit from this small sample.

The sample shows how to use the information in a ListView and export that information to MS Excel, I use the StrataFrame Sample database taking information from Orders and Order_Items to make a simple list, I fill that in the form and click the button it will check if it's installed Excel, if it's installed will lunch Excel, create header, subheaders and column headers with some format, then it will pass all the data of the BO filling one by one the rows in Excel, also it groups the information (I did this for the order number but you can make it to any thing you need) also add a row for subtotal for every group and at the end a grand total for all. Also sas a small formating the Excel sheet routine.

You have this:

And you will get this:

I hope you find usefull; and if someone has a way to Import from Excel to a BO it will be great because thats the next thing I need to doWink

Regards

Smile Everything is possible, just keep trying...

Attachments
ExportExcel.zip (324 views, 163.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Juan Carlos Pazos - 16 Years Ago
Edhy Rijo - 16 Years Ago
Greg McGuffey - 16 Years Ago
Teddy Jensen - 16 Years Ago
Juan Carlos Pazos - 16 Years Ago
                 Thanks for the contribution, Juan!
Trent L. Taylor - 16 Years Ago
Paul Chase - 16 Years Ago
                         Awesome example Paul!
Greg McGuffey - 16 Years Ago
                             Paul Thanks for the idea, I want to try and add a sample of this (or...
Juan Carlos Pazos - 16 Years Ago
                                 Hi Juan, That functionwouldcall a form with a drop down that is bound...
Paul Chase - 16 Years Ago
Keith Chisarik - 16 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search