Declaring type variables or composite data types

I need to be able to print results of a query to an Excel spreadsheet rather than to a report. I am using the Crystal Reports product included with Oracle Power Objects. However, it clearly states that the Crystal Reports OCX does not work with Windows 3.1, so I am using the Crystal Reports DLLs.

One of the functions I need to use requires the use of a composite data type. In Visual Basic this would look like:

Public Type variable-name   SubVariable_Name1 as DataType   SubVariable_Name2 as DataType…End Type
Unfortunately this declaration does not work for OPO. And I can find nosimilar method anywhere.

How can I declare a composite user-defined data type in Oracle Power Objects for use in these DLL functions?

I’m pretty sure you can’t declare a composite data type in Power Objects.However, if I wanted to save the data from a query to a spreadsheet, I’duse the ODBC driver for Excel, open a spreadsheet as a data source and justdo simple INSERTs to the spreadsheet.

This should work, although I have not tried it.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin


The Latest

technology leadership

Why the World Needs More Technology Leadership

As a fact, technology has touched every single aspect of our lives. And there are some technology giants in today’s world which have been frequently opined to have a strong influence on recent overall technological influence. Moreover, those tech giants have popular technology leaders leading the companies toward achieving greatness.

iOS app development

The Future of iOS App Development: Trends to Watch

When it launched in 2008, the Apple App Store only had 500 apps available. By the first quarter of 2022, the store had about 2.18 million iOS-exclusive apps. Average monthly app releases for the platform reached 34,000 in the first half of 2022, indicating rapid growth in iOS app development.

microsoft careers

Top Careers at Microsoft

Microsoft has gained its position as one of the top companies in the world, and Microsoft careers are flourishing. This multinational company is efficiently developing popular software and computers with other consumer electronics. It is a dream come true for so many people to acquire a high paid, high-prestige job