Using Openschema to read Excel files in Powerbuilder - excel-2007

I would like write a script in Powerbuilder 11.5 in order to read Excel files from Powerscript.
I am looking for an example powerscript code as a guideline for it!
Any asssistance is kindly appreciated.
Thanks.
John.

Sybase has a good example using OLE posted. They also have an example connecting to Excel through ODBC and treating Excel sheets as tables with ODBC.
Good luck,
Terry.
I neglected the title in composing the original answer; my answer may not be applicable. I'm not sure how you could leverage Openschema.

Related

MS Excel CHIINV function in XPages

I am looking for some SSJS/java/lotus script code, equivalent to MS excel CHIINV function. If it is possible in XPages, please let me know.
Thanks
Got the solution
Problem resolved. I found java library from following link:
http://sourceforge.net/projects/jsci/
Here in the library, got statistical functions to perform CHIINV calculations.
Thanks

OpenXML with mailmerge fields in a Word DOCX file - full example

I know there are heaps and heaps of threads out there on recommending and using OpenXML to manipulate a Word 2007 (docx) document.
But none I could find, have a practical example (full solution in zip) that I am able to try out and demonstrate to learn quickly how to use OpenXML.
What I am after is a way to open a Word 2007 document template with several mailmerge fields, populate those fields from a dataset (SQL Server 2005) and save the template as a Word document ready to email.
UPDATE: We are using Visual Studio 2005 with .Net 2. Is that going to be a problem? Could we have .Net 3 installed but still use VS2005? Porting to VS2010 is in the cards for us, but not right now. We need a solution to this problem before we go upgrading to 2010.
And please do not recommend 3rd party products as we have to look for a free workable solution.
Much appreciate your time. Thanks
Here's an example.
It uses docx4j.NET - which is open source and which you can get from Nuget - not Microsoft's Open XML SDK.

Read excel sheet without using POI api

I am having an urgent requirement.
Reading data from excel sheet.
Is there any procedure to read data from excel sheet without using apache poi api. i have to use only struts.
Thanking you,
Vipul Kumar.
What do you mean you "only have to use Struts"? If that means you cannot use any other library (and I hope it doesn't), you only have one way: implement an Excel parser yourself.
I strongly advise you against it, though. Why would you want to reinvent the wheel?
If not, then there are a couple of alternatives to help you:
Apache POI
JExcelApi

Sql objects spell checker

I am just wondering that whether there is any utility which can help in determining the spelling mistakes in sql objects.
I can only think of getting information of all the sql objects and the save them in any other system (e.g. excel file) and then run a spell checker on it.
I am looking forward for a better way for this, like any plugin for MSSQL.
You can use spell check functionality built in Office as CLR function. Example see here:
http://msdn.microsoft.com/en-us/library/office/aa537153%28v=office.11%29.aspx
To use this, you need MS Word to be installed on server side.

Visio 2003 ERM to SQL Server script

my question is simple:
Is there anyway to generate the database sql creaton script from a Visio 2003 model?
I prefer Visio, however can be other program (freeware) that allows me to somehow agilize the process between the model and the sql code.
Thanks in advance!
I could be wrong, but I think the commands to generate DDL disappeared with Visio 2003. Apparently you now need the "Enterprise Edition" or some such dreck.
Also, this is a repeat of this question , and the original pointed to this free service: http://aboutwhatever.net/posts/visio-2007-database-model-ddl-generation
which does allow you to do what you want, with certain restrictions.
Once upon a time, there was Visio for Enterprise Architects.
There is a promising add-in for Visio 2010.