
Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.
Question: How can I define a function that is not associated with a particular form? Answer: You can define an function that is not associated with a particular form by
Question: When I set the FormatMask property for a data field object, the value of the field is formatted when a user enters data and tabs out of the field.
Question: I want to use many instances of a class in my form, but can’t seem to figure out an easy way to check on the status of all the
Question: Is there a way to send mail with a mouse click? I’m working on a Mac and in Windows. Answer: You can send mail, or do virtually anything else
Question: I have an employee table with a field empno (employee number) and an hours table that contains all time that is worked by all employees.The hours table has the
Question: I’ve been trying to construct a query on the databaseto see if the value in a particular field matches a long list of correct answers. For example, I would
Question: How do I create a column with a row ID that adjusts if a row is deleted?That is, if I had numbers 1,2,3,4,5,6 and I delete record 3, record
Question: I am trying to write a report that will bring back fiveindividual pieces of data that are stored within the same column in a table. How do I do
Question: What is the syntax to get a series of “counts” on a table? An exampleof what I am trying to do is as follows:SELECT col1 = COUNT(tstfield1=’X’),col2 = COUNT(tstfield2=’Y’)
Question: I’m wondering whether it would be faster to join a large table to a small table by placing the large table on the left side or theright side of
Question: I have two related tables. I need to go and update atable searching for a value I find in the second table (byjoining both tables). I wrote the following
Question: I have been having a lot of trouble with a SqlLookup() function. Whenever I use a WHERE clause, I get a parse error.The offending WHERE clause is “WHERE SW_LICENSE
Question: How are transactions handled in OPO? Answer: Transactions are the core of multi-user data processing integrity. A transaction defines an all-or-none unit of work. The classic example of a
Question: Data field objects in OPO can accept any amount of data, but if I send too many characters to the server, I get an error “flushing the row to
Question: We have several heavily-used tables with lots of columns (average around 30 columns), and the users are getting locked out frequently. We’ve thought about splitting the tables, but didn’t
Question: Our system is experiencing several lock conflicts. We’ve got a consultantlooking at the details, but I was hoping you could explain what’s going onbehind the scenes when records are
Question: What are the differences between LEFT, RIGHT, INNER and OUTER JOINS? Answer: An INNER JOIN is the most common type: It combines all the data from the tables specified
Question: I have nine offices. I want each office to connect across aWAN and run client/server applications with all datacontained on one central server. However, we are finding the delays
Question: What are the advantages/disadvantages of putting large binary files (1+ MB) in BLOB columns versus storing them on a file server with a reference such as a directory/file spec
Question: I want to periodically check to see if a user’s database connection has been lost. How can I? Answer: First of all, a solution. You can implement periodic ‘polling’
Question: The repeater in my application seems to be very slow in populating. Is there anything I can do to improve its performance? Answer: Poor performance can be the result
Question: I’ve heard several of the arguments in favor of a server that supports datareplication. What are the potential problems? Answer: For our readers, the advantages of data replication [creating
Question: My applet draws lines. I click at the place where I want my line to start and then I click at the end of it. It draws a line
Question: How can I get the display value of a list box? Answer: In Oracle Power Objects, the Value property of the list box isautomatically set to the internal value
Question: Can you help me complete the enclosed program? A “Factorial Method”must be written. /////// File: Factorial.java /////// class Factorial { /* put factorial method here */ public static void
Question: I am currently writing an application to scan a text file for certain text keywords, and then copy the text (in between the kewords) into a new textfile. Could
Question: I am attempting to implement an applet that needs multipleframes (windows) that all belong or work under a single frame ? sort oflike an MDI application. However, each of
Question: I want to retrieve data from a database that is not associated withany objects on a form. How do I do this? Answer: A recordset is a client-side mechanism
Question: How do I limit the rows retrieved for a Power Objects report? Answer: The QueryCondition() method is not called when a report is executed,so you can only set a
Question: It isn’t clear to me how to do ‘smart’ painting. For example, ifI want to paint only a portion of something, what should I do?There are paint/repaint methods that
