The Latest

DevX - Software Development Resource

How can I write to OS files from Oracle?

Question: How can I write to OS files from Oracle? Answer: Oracle version 7.3 supports directreading and writing of operating system files from within Oracle.In particular, the utl_file package enables

DevX - Software Development Resource

Using views to improve performance

Question: We are building a Web-based interface for an existing database. We’reusing a SQL interpreter that runs the queries, then sends them to theserver without the need for a client

DevX - Software Development Resource

Date format

Question: My application (RIS) converts a date in an integer to store it in a Database. Integer = x seconds after 1.1.1970 (for ex., 709444800). I want to make a

DevX - Software Development Resource

Datawindow bands problem

Question: Occasionally I have found that after creating an executable, the bands in some of my datawindows have been repositioned to the top of that particular datawindow, causing a blank

DevX - Software Development Resource

Sending email from within OPO applications

Question: Is there a way to send email from within anOracle Power Objects application? Answer: There is not a native function to do this within OPO.However, you can use any

DevX - Software Development Resource

Can Crystal Reports output to MS Word?

Question: The Crystal Reports help file contains “Pro-only Topics.” Can I use these Pro features with the Crystal Reports engine I recieved with OPO? If so, where can I find

DevX - Software Development Resource

Power Objects 2.02 — Can’t edit a view

Question: I am using Power Objects 2.02. In the sample mldata session I cannot change any views that already exist; I come up in a view mode only. This is

DevX - Software Development Resource

Rich text presentation style

Question: When using a rich text datawindow (not an rte control), is there a way to save the contents to a file as rich text, as is? In other words,

DevX - Software Development Resource

Max file size PB can open

Question: I need to develop a program interfaced with a Sybase database. First I have to open a huge ASCII file (size ranges from 20 to 100 MB) to read

DevX - Software Development Resource

Going from one application to another

Question: I am trying to figure out how to pass through the Message Object or NVO address, either by reference or value, to another application entirely different from the original

DevX - Software Development Resource

GetClickedCol() obsolete?

Question: Okay, so PB 5.0 made the GetClickedCol method obsolete. Now how can I get the current column using the dwo argument? Answer: There is a replacement attribute for all

DevX - Software Development Resource

Connecting to Oracle

Question: I have been trying to connect to our Oracle General Ledger Version 10.SC from PB5 Ent. I am accessing it from my PC running Win95 and a database that

DevX - Software Development Resource

OPO and stored procedure parameters

Question: Stored procedure on WG7.3 Oracle expects three parameters. I can get OPO 2.0 to pass the params if I cite them literally as, for example, exec sql begin addnewperson(‘John’,’Quincy’,’Doe’);

DevX - Software Development Resource

How to add custom menu and toolbar to report object

Question: I’m using Power Objects 2.1 and am trying to add a custom menu and toolbar toa report object. I’ve successfully done this withform objects by using the InitializeWindow, TestCommand

DevX - Software Development Resource

Referencing instances of classes

Question: How do classes communicate? If class A created one or more instances of class B and class C, how can class A keep track of all the instances of

DevX - Software Development Resource

Pop-up list problems

Question: Why can’t I put a simple piece of code in the click event for a list box and have it execute? Also, how can I choose a value from

DevX - Software Development Resource

OPO 2.0 and mathematic operations

Question: Yesterday I received a description for a reality problem I must represent in my OPO-database application. It concerns the drinking water supply for a city, and the staff of

DevX - Software Development Resource

Field-level and interfield validations

Question: Field-level validations should be done when the user visits the field. How can this be done?Interfield validations on the same screen also should be done when the user visits

DevX - Software Development Resource

Cursor position within a window

Question: I have a DB log-on panel defined for my application, and the user ID is loaded from an INI file. I would like to have the cursor on the

DevX - Software Development Resource

Form width and length

Question: My program has two MDI forms. I have an option that allows the user to tile them horizontally or vertically. How can I tell at runtime what the max

DevX - Software Development Resource

“Cannot Open Component Library” — What to do

Question: I’ve been getting the following errors when I try to launch Delphi:“This program has performed an illegal operation and will be shut down.If the problem persists, contact the program

DevX - Software Development Resource

Hiding application

Question: I have a third-party component I am using to make an icon for my app in the Windows 95 system tray. This works great, except that I need to